Why do we use accessToken and refreshToken? #1243
Unanswered
antoniopresto
asked this question in
Q&A
Replies: 1 comment
-
One advantage I thought of is that the Hmm, this can be protected with one single token too |
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.
-
The accessToken validation uses
ignoreExpiration: true
here.We only check if the session saved in the DB is
"valid": true
.Could we just save the session id in the refreshToken and ignore the sessionToken?
Beta Was this translation helpful? Give feedback.
All reactions