getSessionCookie() return null is some cases
getSessionCookie()
is not behaving like we expect for the next reasons:
- the function is not respecting the auth options specified in auth.ts
```javascript
advanced: {
cookies: {...Hydration error in useListOrganizations hook
Cookie cache does not refresh
const session = authClient.useSession()
, but not if I read it on the server with const session = await authClient.api.getSession({ headers })
Is it not supposed to?...API signUpEmail not throwing error
better-auth
, is been really great so far!
Here is my problem:
After upgrading from v1.1.20
to latest
, running:...errorCallbackURL in client side social login is not working
bearer token returns null with OAuth provider

Error when updating session expiresAt
Limited access to webhook events
404 with stripe plugin
`auth.api.forgotPassword` not throwing error
TwoFactor plugins requires id column in schema?
authClient.twoFactor.enable
:
# SERVER_ERROR: [BetterAuthError: The field "id" does not exist in the "twoFactor" 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 "twoFactor" schema. Please update your drizzle schema or re-generate using "npx @better-auth/cli generate".] {
cause: undefined
}
API Key Metadata is null?
Performance of `auth.api.hasPermission` seem to be very slow
Stripe | BetterAuth webhooks in Cloudflare need to be async error (FIXED)
"WEBHOOK_ERROR_SUBTLECRYPTOPROVIDER_CANNOT_BE_USED_IN_A_SYNCHRONOUS_CONTEXTUSE_AWAIT_CONSTRUCTEVENTASYNC_INSTEAD_OF_CONSTRUCTEVENT",
"message":
"Webhook Error: SubtleCryptoProvider cannot be used in a synchronous context. Use `await constructEventAsync(...)` instead of `constructEvent(...)`",
"WEBHOOK_ERROR_SUBTLECRYPTOPROVIDER_CANNOT_BE_USED_IN_A_SYNCHRONOUS_CONTEXTUSE_AWAIT_CONSTRUCTEVENTASYNC_INSTEAD_OF_CONSTRUCTEVENT",
"message":
"Webhook Error: SubtleCryptoProvider cannot be used in a synchronous context. Use `await constructEventAsync(...)` instead of `constructEvent(...)`",
Disabling the default team requires you to provide a function for a default team

New update makes my plugin error
Type never has no call signatures.
Type never has no call signatures.
Stripe | Make success_url optional?
success_url
is not supported with ui_mode: embedded
."
So my question is, if we could make success_url optional (and maybe more not sure if the cancelUrl needs also to be optional), so we can use it together in a embedded mode.
Not sure if this is a feature_request or bug, but i think a nice to have for everyone not wanting to use the default stripe hosted pages....Stripe Plugin bug
authClient.subscription.upgrade()
does not work with prisma, it says a column is missing even though the prisma studio shows it exists, the neon dashboard says it exists, and I can access the field using the prisma adapter in my code no problem.
``
# SERVER_ERROR: [Error [PrismaClientValidationError]:
Invalid
db[getModelName(model)].create()` invocation in...stripeSubscriptionId
required in your schema.
Just go to your schema.prisma and remove the ? on stripeSubscriptionId: String?
It has to be optional because this val comes from stripe, and is put in the db down the line by the webhook handler built into better-auth...