Replies: 1 comment
-
|
But what if your cookie expires, the sessions is never read again? Your old session becomes stale and you get a new one right? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi, currently I'm using database with prisma to store session and verification tokens
About session
At this section of the documentation it's written:
I've been digging a bit in the source code and found this:
next-auth/packages/core/src/lib/actions/session.ts
Lines 93 to 100 in 24ef3f4
As far of my understanding, when you try to use a session that is expired, the storage engine remove it.
Here is my first question
At first look, I would answer YES.
About Verification tokens
It's written clearly here same as 2 the suggestions remains.
What do you think about those two things ?
Footnotes
Question 1 ↩
Second suggestion ↩ ↩2
Beta Was this translation helpful? Give feedback.
All reactions