8_Stackz
BABetter Auth
•Created by 8_Stackz on 3/2/2025 in #help
What is the best way to self host better-auth to use across microservices?
I would like to create an Auth0 alternative for my webapp and the microservices that sit behind it. This requires a lot of authN integration with a bunch of services, and the session management and OAuth stuff etc. from the Vercel webapp in the front-end app.
What is the best approach to achieve this. Is it to host a separate auth service that runs better-auth with a prisma DB using express or fastify? What would I do for the other services, how can I leverage the
betterAuth({})
client to use in my clients across the list of services I have?8 replies