DEV Community

Discussion on: Ktor - Setting up JWT

Collapse
 
samar0002 profile image
samar0002

Can you please explain what is issuer and realm here. Also about refreshing tokens?

Collapse
 
janstoltman profile image
Jan Stoltman

Hi, issuer and realm are just standard fields added to the claim set in JWT, you can find more about them on wikipedia en.wikipedia.org/wiki/JSON_Web_Token.

Refreshing token is a completely different story and can be implemented in many ways, I use short-lived access token + refresh token but it's up to your application really.