Spotify redirect url
Reference naming doesn't fit all use-cases

Stripe: `onSubscriptionUpdate` passes old subscription data
onSubscriptionUpdate
callback is fired, it passes the subscription
data grabbed from the DB. However, this is the data before the updated properties are applied.
For example, if a user switches from one plan to another, the passed subscription
object contains the old plan, not the new one.
Relevant code:...Custom schema model name in organization plugin does not correctly change FK drizzle adapter

Generic oauth failing on missing email
email_is_missing
.
Seeing how both Twitter and Tiktok allow for null emails, I would expect similar behavior in the generic oauth plugin as well. Or, alternatively, a way (a la Auth.js) to write and use custom providers.
mapProfileToUser
has no affect on the above as this method is being invoked after the email check fails. One must use a custom getUserInfo
method to get around this restriction. See here: https://github.com/better-auth/better-auth/blob/6a0898fa88d1a49163b711fdbfa05489e0301a2c/packages/better-auth/src/plugins/generic-oauth/index.ts#L606authClient.signIn.email returns status 0 with empty statusText — No descriptive error
Stripe plugin: seems we can't reactivate a canceled subscription
webcrypto issue w/ vite6(vs. 5) rr v7 ssr while in cf-wrangler [minflare]
Admin plugin : listUsers total is not correct
BetterAuthError [BetterAuthError: Session data is too large
BetterAuthError [BetterAuthError: Session data is too large to store in the cookie. Please disable session cookie caching or reduce the size of the session data] Not an issue for users who log in without an image on their Microsoft account. it would seem that the image which is base64 encoded causes the session data which includes sesssion and user to be over 4093...

Stripe Webhook Fails When Processing User Subscription
2025-04-02T23:00:28.177Z ERROR [Better Auth]: Stripe webhook failed. Error:
Invalid db[getModelName(model)].update()
invocation in
C:\Users\ayrto\tibiaprofit.next\server\chunks\node_modules_better-auth_diste7fe42cb..js:3150:62...
@17.7.0
until this is fixed?...getSessionCookie does not work in middleware
Issue: Session not retrieved on latest safari version
works fine on Chrome
, it fails on Safari.
Context
Backend: Running on Hono (Cloudflare Workers)...Custom Plugin is not type safe.
apiClient.cart.someMethod
my IDE thinks it doesn't exist, but the method works on dev/prod instance. how can I let the IDE auto complete these types?
Additional Date field throws an error
Can't generate migrations using D1 on Cloudflare Workers
better-auth CLI
to detect the configuration since it's only looking for variables exported (when using D1 we construct the configuration with each request and we only have a function)
- The usage of getMigrations
is still undocumented and probably abandoned since It's returning generic errors from D1 such as Error: D1_ERROR: not authorized: SQLITE_AUTH
```typescript...getSession intermittently fails cookie signature verification, deletes cookies
getSession()
— they show sessionDataPayload.signature
doesn't match a signature created with createHMAC(...).sign()
using the same contents....Not able to create polar Checkout
using authClient.organization.setActive() corrupts session_token in cookie
setActive
on the client:
await client.organization.setActive({ organizationId })
await client.organization.setActive({ organizationId })