Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Token refreshed, but not stored? - Better Auth
BA
Better Auth
•
2mo 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
.
.
.
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Cached Session Cookie (JWT) is not refreshed (SvelteKit)
BA
Better Auth / help
12mo ago
Refresh token flow not returning id_token.
BA
Better Auth / help
3mo ago
OIDC Client Register - Additional data not stored
BA
Better Auth / help
5mo ago
ip Address is not stored in db
BA
Better Auth / help
9mo ago