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 })
auth.api.getActiveMember does not have type signature for role
api.getActiveMember
is typed as a string.
This same key on the authClient is typed as expected....The getFullOrganization() members.user type doesn't include id: string but the data does

The field "teamId" does not exist in the "invitation" schema.
Stripe List Subscriptions with referenceId always throws 404

[STRIPE] Annual discount & Upgrade
Network error!
if verification.disableCleanup set true, then the records were getting deleted in verification table
NextJS build error

Double Owner member ship creation on creation of organization

TypeError: Cannot read properties of undefined (reading 'value') at withReturning
TypeError: Cannot read properties of undefined (reading 'value')
at withReturning (/Users/omar/code/1up/node_modules/better-auth/dist/adapters/drizzle-adapter/index.cjs:169:38)
TypeError: Cannot read properties of undefined (reading 'value')
at withReturning (/Users/omar/code/1up/node_modules/better-auth/dist/adapters/drizzle-adapter/index.cjs:169:38)
Error: invalid column data type undefined - when running generate migration
pnpx @better-auth/cli generate removing session table
Drizzle adapter usePlural not working with passkey & JWT plugins