Internal Server Error when deployed to AWS
pass discord ID to session
Organization inviteMember - Not Allowed to Invite
How to integrate BetterAuth with SolidJS
authClient.useSession() not callable in my Nextjs (15.2) client component
Using mongodb adapter and generateId creates id field in addition to _id field
authClient.listSessions returns empty array
The organization plugin only a select number of server versions of the sdk?
Does better auth support authenticating on subdomain, carrying over to main domain/other submains?
PrismaClientValidationError
prisma.session.update()
invocation
I am utilizing the latest version of BetterAuth and using the prisma adaptor from better-auth/adaptors/prisma
and my db is postgresql
. I am able to sign up and sign in just fine. However, when the current session needs to be updated, I get the following error. It appears it is trying to use the token for the lookup, but the error seems to indicate the call should be using id instead. My session schema is like this:
```prisma...
Stripe migration does not work
Wierd behaviour, isPending from useSession not triggering
const { data, isPending } = authClient.useSession();
console.log(isPending)
const { data, isPending } = authClient.useSession();
console.log(isPending)
nextJS 15.2
...Custom Admin Role - Admin Plugin
authClient.admin.listUsers
with my custom role, I receive the YOU_ARE_NOT_ALLOWED_TO_LIST_USERS
Error. If I switch that user's role back to the default of 'admin' everything works as expected.
I added screenshots of auth.ts, permissions.ts, and the function used to list users.
Anyone have an idea on what I am doing wrong when creating a custom role?...
Property 'surname' does not exist on type ...
Server side Stripe usage
Kinde to Better-Auth
Custom Auth to Better Auth
Server email OTP authentication
ctx.redirect not working?
Question about Access Control and Orgs