Skip to content

Purpose of Session module #1347

Closed Answered by Shchepotin
LucaAndrei asked this question in Q&A
Discussion options

You must be logged in to vote

@LucaAndrei

What is the purpose of the session module?

Session module needs for the Refresh Token flow

Doesn't it defeat the purpose of stateless authentication with JWT when you are storing the session in the DB?

Access tokens are still stateless

Are you storing the session to invalidate a user's session or to be able to blacklist a refresh token?

For now "to be able to blacklist a refresh token"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Shchepotin
Comment options

You must be logged in to vote
1 reply
@Shchepotin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants