Custom values into `authClient.signIn.social()`?
Update additional fields in updateUser
additional fields not included in session

2025-04-09T13:12:33.351Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR [AggregateError: ]
2025-04-09T13:12:33.351Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR [AggregateError: ] { code: 'ETIMEDOUT' }
2025-04-09T13:12:33.351Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR [AggregateError: ] { code: 'ETIMEDOUT' }
The field "id" does not exist in the "verification" schema
# SERVER_ERROR: [BetterAuthError: The field "id" does not exist in the "verification" schema. Please update your drizzle schema or re-generate using "npx @better-auth/cli generate".] {
cause: undefined
}
# SERVER_ERROR: [BetterAuthError: The field "id" does not exist in the "verification" schema. Please update your drizzle schema or re-generate using "npx @better-auth/cli generate".] {
cause: undefined
}
typescript not recognizing role field in astro locals with better auth
onAPIError not working
Admin API tools (without authentication)
"userId" as id of user instead of "id"
id
names yet. @IceeCold
It may be a future we add later down the line however....set cookie manually in next.js server action
stripe subscription edge case question cancel_at_period_end
await db...
Difference between SSO and social sign on
Stripe subscription management
After successive transactions, it throws you to the login page
Basic Authentication with Caddy
BETTER_AUTH_URL=https://example.com
to BETTER_AUTH_URL=http://localhost:3000
And I added trustedOrigins: ['https://example.com']
in my betterAuth config (auth.ts
)
Is this good practice?...Is there an expiration of the email verification token?
Admin Role
How to return error from sendVerificationEmail ?
Passkey Failed to verify authentication
Error: Unexpected authentication response challenge "AB", expected "AA"
...inferring types on the client, based on plugins added on the server
admin
plugin added to the server initialization of betterAuth
. I was expecting the additional user properties, like role
would be accessible from session.user
.
Here's my server code:
```ts
export const auth = betterAuth({...