Replies: 3 comments 7 replies
-
|
Hi @ftmomin! I'm Dosu and I’m helping the better-auth team. Your config looks correct, but there are two things to be aware of: Cookie cache doesn't self-refresh with a database. Since you have a database configured, Better Auth automatically disables the
Recommendations:
To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
-
|
How to implement an Access Token and Refresh Token strategy? without any secondary storage |
Beta Was this translation helpful? Give feedback.
-
|
after removing customSession , expired cookies cache does not refresh after checking database session. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i have configure my auth as below
fetch session
i am using better auth v1.6.5 and nextjs v16.2.4.
my question is, am I doing wrong. becuase my session cookies cache does not refresh. i do see session cookies cache being set when i login. but it does not refresh after maxAge.
Beta Was this translation helpful? Give feedback.
All reactions