© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Token refreshed, but not stored? - Better Auth
BA
Better Auth
•
4mo ago
•
1 reply
Tom 🤔
Token refreshed, but not stored?
Next.js
Hello
any chance someone can take a look at
https://github.com/better-auth/better-auth/discussions/5786
I
'm stuck
. The token is being refreshed
, but after the first time it is refreshed all subsequent
.getAccessToken
.getAccessToken
are being refreshed as well
. I think the updated token is not stored correctly and it is still using the old token
, hence the refresh
.
GitHub
NextJS + Microsoft Azure B2C · better-auth better-auth · Discussi...
Hello I
&
#39
;m trying to migrate from Authjs to better
-auth in NextJS I
&
#39
;ve setup microsoft as a login provider in auth
.ts src
\auth
.ts export const auth
= betterAuth
(
{ baseURL
: process
.env
.BETTER
.
.
.
Recent Announcements
Similar Threads
Cached Session Cookie (JWT) is not refreshed (SvelteKit)
BA
Better Auth / help
13mo ago
Refresh token flow not returning id_token.
BA
Better Auth / help
5mo ago
OIDC Client Register - Additional data not stored
BA
Better Auth / help
6mo ago
ip Address is not stored in db
BA
Better Auth / help
10mo ago