how to use kysylo-adapter with better-auth
[OIDC] federated logout (`end_session_endpoint`)
end_session_endpoint
in the OIDC provider plugin for federated (RP-initiated) logout use cases?
Section 2 "RP-Initiated Logout" in the spec here: https://openid.net/specs/openid-connect-rpinitiated-1_0.html...Better Auth with Capacitor
Multiple accounts with the same e-mail
Magic link verify on a secondary device
Account linking extra info
allowDifferentEmails: true.
it seems like there’s no way to extend the account schema. I think it’s pretty common to have information like the name and email of a newly linked Google account, so that on the client side — when using authClient.listAccounts
— I can display each account’s name, email, or other relevant info.
I tried using the hooks and databaseHooks, but I couldn’t get it to work....plugin schema: onDelete: "cascade" does not work?
manage sessions in server
How to create headers on the server
listOrganizations
or listUsers
on the server by passing in the user.id
that I get back from the already validated token header.
I could query the DB myself, but that kinda feels off...what tables are a must for better auth to work
Is it a possible to use a relation table as type for fields in additionalFields ? (beginner 😅)
pages
field of the user directly from the session (code snippet below). (It's another table).
Is it possible / a good idea to include this kind of data directly in the session (via customSession) or should I rather fetch it separately using a /me
endpoint after login?
I’m not an auth expert, so I’m not 100% sure what the best practice is here – any feedback or guidance would be super appreciated! 🙏...server actions for users
user.actions.ts
file with better-auth. Could anyone please help me out understand?Argument `stripeCustomerId` is missing.
``
2025-04-18T03:02:49.602Z ERROR [Better Auth]: PrismaClientValidationError:
Invalid
prisma.user.create()` invocation:...Get user info
await authClient.admin.listUsers()
but how can I get a single user info? I can't find a method like await authClient.admin.getUser(id)
.user admin type not updating

Prisma + better-auth: schema type issue

Better auth handler not working

How to acces ID token returned by oAuth provider
Better-Auth with Express Server
Property 'signIn' does not exist