Checking if a teamId belongs to an orgId in Better Auth Organization
Anonymous accounts + roles
Assigning Roles Per Platform in Better Auth SSO (Web vs Mobile)
username plugin: password.verify not being called?
The session keeps disappearing or not mounting from the secure storage expo
Singular or Plural Table Names
Custom IdP with BetterAuth
cannot set additional field in sign up body
typeof auth.$Infer.Session; <- this had stopped working. This is also fixed in the new version, so I can upgrade now...
What the difference?
auth.api is for server-side usage. it calls the Better Auth API endpoints.
authClient.getSession is for client-side usage.
if you’re using a separate API, you’d typically lose access to the direct server-side method since it isn’t exposed over HTTP in the same way. auth.api provides a bit more performance efficiency on the server by avoiding extra HTTP overhead, while the client method is optimized for browser or external API calls....Custom OAuth2 Provider with Expo and Universal Links
1. App →
Browser.openAuthSessionAsync() → Vipps page → user opens Vipps app → approves login2. Vipps redirects to
https://api.mydomain.com/auth/oauth2/callback/vipps?state=xxx&code=xxx  ...Unexpected auth success
Hi, I'm Jordan79@ from Ivory Coast.

custom fields error
BetterAuth mounted but routes returning 404 in NestJS
Subscription trial not working when user already has an other subscription
Prisma user id is Int but referenced as string
Error parsing attribute "@relation": The type of the field userId in the model Session is not matching the type of the referenced field id in model User.Prisma
...resend change email verification
Using the sso plugin, how do you access the profile data (eg. Okta custom entitlements, groups etc)?
mapProfileToUser from socialProviders?Express API postman testing - every request return null