admin plugin ban user - unauthorized
Post sign up hook for google provider
fs.existsSync is unavailable
Hashing script to seed database
Using better-auth without a database
Type error in "signUp" after renaming "name" in "user" table
Better Auth + Multi-Tenant (Separate DBs per tenant)
hooks.before
to dynamically create a prismaAdapter
with the tenant-specific PrismaClient by modifying ctx.context.adapter
.
Is this a sound approach, or are there better/recommended ways to pass a dynamic Prisma instance to Better Auth per request? Also, any potential pitfalls or edge cases I should be aware of with this method?
Open to all suggestions!...JWT Err : Key for the EdDSA algorithm must be one of type CryptoKey
{"keys":[{"crv":"Ed25519","x":"E1Wd_QpdDtT914FDNKJNuPiXvdeUDMRaTtVN0vPRG6U","kty":"OKP","kid":"YIliaKY8X4nDAfHXWJzOpJrzYqgBQ11Z"}]}
{"keys":[{"crv":"Ed25519","x":"E1Wd_QpdDtT914FDNKJNuPiXvdeUDMRaTtVN0vPRG6U","kty":"OKP","kid":"YIliaKY8X4nDAfHXWJzOpJrzYqgBQ11Z"}]}
I've keep getting the bellow error in better auth,
I've keep getting the bellow error in better auth,
When signed in with Social providers authClient.useSession doesn't make requests to the server
better-auth/vue
in Nuxt, everything is set up as in the docs, triple checked.
With the same code everything works when I signed in with email/password credentials, I can see in the browser console that the session is fetched when needed.
But with social providers it's not calling the server at all (I tested it with Google and Microsoft)....API calls for auth not working in docker container
pnpm run dev
and even when I build it and run pnpm run preview
. When I build a docker image however, the app loads just fine and everything works except for the /api/auth calls. I try with curl even and I just get the 404 page response. I have the base url set to localhost:3000, I am exposing the 3000:3000 port so everything matches and still nothing. Any ideas why?Social Login doesn't work
How To Do Google Popup Login?
api/auth/get-session returns null in prod but works locally
How to have databaseHooks event whenever user logs in?
List sessions server side
authClient.listSessions()
on the server? Because I could login the user before and then prompt the session and log out if the other is not removed, but it looks more prone to exploits and I'd prefer server-side operations....Database Hooks `before.create` Has Undefined Context
❓ Help with better-auth: cookieCache not persisting after maxAge expires
Create user with custom ID
Nextjs Dynamic server usage
Social Auth throwing 500 error's