Refresh token

Issue #92 closed
Goutham Bandri created an issue

How do I create refresh token with this library?

Refresh token can be used when a JWT expires to get a new JWT.

Regards, Goutham Kumar

Comments (3)

  1. Goutham Bandri reporter

    Sorry, I did not know where and whom to ask this question, hence created an issue. I use jose4j for JWT in my project.

  2. Brian Campbell repo owner

    Refresh tokens are typically implemented as a long secure random string value that keys into some persistent server side storage rather than as JWTs. If you really want to do it with a JWT, using a HMAC JWS or AES JWE would probably be the way to go.

  3. Log in to comment