“NextAuth + Redis: Expired sessions remain in storage after maxAge” #13228
Unanswered
david-yan-1
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I’ve noticed a difference in how sessions are handled with NextAuth + Upstash Redis:
Is this the intended behavior (because NextAuth enforces expiry via the expires field instead of TTL), or should Redis sessions also auto-expire? Just want to confirm whether this is by design or if it’s a bug.
For context, here’s my session config:
Beta Was this translation helpful? Give feedback.
All reactions