1. Is it possible to auto turn on 2FA for user (2.) I need help with this authflow
How to refresh session after changing org in Nuxt?
const { data: session } = await $auth.useSession(useAuthFetch)
$auth.organization.setActive({ organizationId: org })
const { data: session } = await $auth.useSession(useAuthFetch)
$auth.organization.setActive({ organizationId: org })
How to redirect to `/sign-in` on all urls if unauthenticated
Preventing Account Spam in BetterAuth (Free Credit Abuse) ?
How to handle email verification in Express and React?
auth.ts
file server-side:
```
// Email configuration
emailVerification: {
expiresIn: 60 * 60,...Alter default user schema, remove image field from it
Error when update API Key
update
api-key but create
, delete
, list
is work fine, how to solve this?
here's prisma
```prisma
model Apikey {...Cross domain auth
Better Auth Fastify Integration Guide
getSession is not returning userAgent
Auth client not working in Expo
{"data": null, "error": {"status": 0, "statusText": ""}}
{"data": null, "error": {"status": 0, "statusText": ""}}
http://10.0.2.2
as the base url. Otherwise the Android emulator can't access the localhost.
But I think the client should return a proper error message in this case....Generic OAuth custom authorization logic
Callback that activates when a new user is created? (docs are not accurate)
databaseHooks -> user -> create -> after
.Enforce UUID v4 format for user ids?
appAccountToken
must be a UUID....What is FieldAttribute.sortable ?
sortable
prop intended to be?
Thank you!...cannot understand the use of checkRolePermission is organization plugin
Manually Extending Auth Types
authClient
so that it can infer other plugin features. I have a function that accepts authClient
but it can only access email plugin like so: authClient.signIn.email()
, it's unable to infer something like authClient.signIn.magicLink
. Is there a standard way around that? (I suppose the same question for the server auth too)refetch() from useSession() return cached data
refetch()
from useSession()
return cached data? This only happens in production. The updated data is returned after approximately 50 seconds. In development, it always returns fresh data immediately after calling refetch()
Stripe cancel and duplicate key value violates unique constraint

Invite user to organization (signed or unsigned users)