I'm trying to get my head around refresh tokens
and how they work with JWT
, so I can use it without auth0
API service.
- Why refresh token format is different from JWT?
- refresh tokens are just simple tokens store in the db?
- How is the flow to use a refresh token to get a JWT token?
Thanks!
UPDATE
As @Florent Morselli suggested. The fundamental question of this post is wrong and confusing. Since JWT and refresh tokens are not really concepts that can be related. A better question can be:
- What is the difference between a JWT Token and an opaque token?
- What is the difference between a Access Token and a Refresh Token?
I'm not changing the question in the title, since somebody might be looking wrongly for the same thing and it will lead them to this post.