Stateless, Databaseless Auth

Following up from https://discord.com/channels/1288403910284935179/1288403910284935182/1307115558009045003, is there a way to use Better Auth as an OIDC RP without setting up a database for Better Auth? I already have an OIDC OP (Keycloak) I'd like to use (it already stores user data), and want to strictly use Better Auth as a client library in a Next.js app with it. Auth.js supports this (https://authjs.dev/getting-started/database: "Auth.js integrations save sessions in a cookie by default. Therefore, setting up a database is optional.")
1 Reply
Hasan
Hasan3w ago
Hey, I got a reply from bekacru on the matter and unfortunately the library is not meant for this. You can check out his response here https://discord.com/channels/1288403910284935179/1349320159093067897/1351234067701436468

Did you find this page helpful?