Json 👺
Explore posts from serversBABetter Auth
•Created by Json 👺 on 4/9/2025 in #help
Custom values into `authClient.signIn.social()`?
Terrific, thanks!
5 replies
DTDrizzle Team
•Created by Jakesdoc on 4/17/2024 in #help
Generate relational select types
https://github.com/drizzle-team/drizzle-orm/issues/695
Still an open issue but some have shared some solutions. Hopefully in the next year we'll get a native option. Really hoping for it.
2 replies
DTDrizzle Team
•Created by cody on 7/27/2023 in #help
Is there a way I can use relational types?
one day we'll have native type inference for relational queries like Prisma has
19 replies
BABetter Auth
•Created by Json 👺 on 2/8/2025 in #help
Correct way to determine the baseURL?
Perfect! Have you considered allowing explicit baseURL definition (on the server) to cut down on environment variables? An extra variable is no big deal, but I'm curious.
6 replies
BABetter Auth
•Created by Json 👺 on 2/8/2025 in #help
Correct way to determine the baseURL?
It would be nice if we could explicitly determine the baseURL on the server as well, this way we could just use a single function like the one used in tRPC 🙂 Thanks
6 replies
BABetter Auth
•Created by Json 👺 on 2/1/2025 in #help
Has anyone used getSession() with tRPC callers?
Implemented from your docs today. Very helpful.
14 replies
PPrisma
•Created by Json 👺 on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
It is not, but if you shoot me your github email I can share it with you. Currently I am using Neon until I can resolve this.
8 replies
PPrisma
•Created by Json 👺 on 12/9/2024 in #help-and-questions
TypedSQL failing during build step
TypeScript is
"^5"
, prisma and prisma client are both "^6.0.1"
The console appears to give no insight into this specific issue post-linting:
5 replies
BABetter Auth
•Created by Json 👺 on 12/8/2024 in #help
Use deleteUser() without verification?
You're the best thanks
6 replies
BABetter Auth
•Created by Json 👺 on 12/8/2024 in #help
Use deleteUser() without verification?
I get the following error, however the session appears to be fresh since I can perform other actions. Do you have a suggested strategy for debugging this?
6 replies
PPrisma
•Created by Json 👺 on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
Are there any resources on debugging this?
8 replies
PPrisma
•Created by Json 👺 on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
8 replies
PPrisma
•Created by Json 👺 on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
These are the two keys Prisma Postgres provides me during setup. I have no other keys that might conflict.
8 replies
BABetter Auth
•Created by Json 👺 on 11/30/2024 in #bug-reports
Unable to use `mongodb` client
Great I got it working. Thanks
3 replies
BABetter Auth
•Created by Json 👺 on 11/2/2024 in #bug-reports
Failed to get source map when using auth.api.getSession() during first request
Here is the provider and hook solution I came up with if you ever consider adding a Next.js specific example to the docs or any other Server Component framework
@/components/providers/session-provider.tsx
../layout.tsx
36 replies
BABetter Auth
•Created by Json 👺 on 11/2/2024 in #bug-reports
Failed to get source map when using auth.api.getSession() during first request
Ahhh, sorry about that... you've been very helpful, by the way. My money is on Better-Auth. Definitely all in at this point
36 replies
BABetter Auth
•Created by Json 👺 on 11/2/2024 in #bug-reports
Failed to get source map when using auth.api.getSession() during first request
This is what is kind of confusing because session is just the Session itself, but the return type of this function is Session and User
36 replies
BABetter Auth
•Created by Json 👺 on 11/2/2024 in #bug-reports
Failed to get source map when using auth.api.getSession() during first request
Is this appropriate?
36 replies