Session Token Lost After Sign-In

Hi,

After signing in, I lose the better-auth session_token. Do you know why?
If I don’t use a callback URL, the better-auth session_token cookie stays, but it gets lost as soon as I navigate again.

Versions:

  • next: 15.4.0-canary.38
  • better-auth: ^1.2.8
  • prisma: ^6.8.2
  • @trpc/server: ^11.0.0-rc.682
  • @tanstack/react-query: ^5.62.15
Was this page helpful?