Better Auth Error Session data is too large to store in the cookie
How can i setup with express and mongoose?
Next.js Hydration Error Linked to useActiveOrganization Hook
how to return more data from `/get-session`
Zero Sync Authentication
User Cancelling Authentication Redirects to Better Auth Error Page
Guidance on JWT / Bearer usage for external APIs
authClient
, just the server api.
At the moment, if I call auth.api.getToken
, it issues a new token every time thus invalidating any fetch caching to the external api. I can store this token outside the request scope (variable or local storage) however this doesn't take into account expiration of the JWT token within decrypt it and checking timestamps on each request. While this works, I am wondering if there's a more efficient or more "betterauth" way of doing this. Perhaps the OIDC Provider is a better choice here?
To sum:...Expo Sign in with Apple: clientId vs appId vs serviceId vs bundleId ?!? 🤷
On native iOS, it doesn't use the service id but the app id (bundle id) as client id, so if using the service id as clientId in signIn.social() with idToken, it throws an error: JWTClaimValidationFailed: unexpected "aud" claim value. So you need to provide the appBundleIdentifier when you want to sign in with Apple using the ID Token....
How to update `api/auth/get-session` with new session data?
api/auth/get-session
gives the old data. Is there a way to trigger an update when the database is updated so session data is also updated?
I am using tanstack start. ```import { createAPIFileRoute } from '@tanstack/react-start/api'
import { auth } from '@/lib/auth'...Issue trying to convert to cloudflare workers
can Stripe's period_end be overwritten?
trail_end
for the trail period and if have have non-trail subscription, you'll start usnig period start and end as a flag instead.subscription table is not generated

Stripe plugin
Check GitHub organisation
Backup Verify
# SERVER_ERROR: Error: padded hex string expected, got unpadded hex of length 191
at hexToBytes (../src/utils.ts:56:20)
POST /api/auth/two-factor/verify-backup-code 500 in 165ms
# SERVER_ERROR: Error: padded hex string expected, got unpadded hex of length 191
at hexToBytes (../src/utils.ts:56:20)
POST /api/auth/two-factor/verify-backup-code 500 in 165ms

OTP

Long delay after logging in with Apple (white screen)
User VS Account
Trying to understand the connection between client and server in Tanstack Start
useSession
hook is not working as expected (will not update when authentication happens, will update when logging out with the auth client).
Is there something I was supposed to do to connect the auth client with auth server (-side implementation)? Doc's seem to just indicate it should just work as-is....reset-password not working with email link
