Skip to content

[Q] Why don't we use refresh token? #132

Answered by umputun
stillya asked this question in Q&A
Discussion options

You must be logged in to vote

My view on this - the refresh token can be compromised in the same way as the auth token. They both send the same "channel" and are stored similarly. Revoking the compromised token is not different from revoking the refresh token. With such a "blocked" token, users won't be able to stay logged in.

Unless I miss the point, it is not apparent what benefit the refresh token brings compared to the currently implemented "automatic refresh auth token" schema. The popular claim "you don't send refresh tokens that often" doesn't make much sense to me and I don't get how this is even related to a more/less secure system.

However, if you can think of any practical benefits I'm missing, pls share, a…

Replies: 2 comments 1 reply

Comment options

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

Answer selected by stillya
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #131 on October 26, 2022 18:34.