0

Now I want to generate a access token and a refresh token, but when I do it. I just wonder what the difference of refresh token and access token? or can I say it is no difference except the expire time, the refresh token has a long expire time and access token have a very short expire time? I could use the same way to gernetate token and pass different expire time.

Dolphin
  • 13,739
  • 26
  • 110
  • 272
  • You can check here. https://stackoverflow.com/questions/3487991/why-does-oauth-v2-have-both-access-and-refresh-tokens – Nirav Vikani Jun 17 '21 at 05:05
  • I have read this question but I think these are 2 different question. @NiravVikani I wander is the token detail in implemention. I already know why should design 2 type of token. – Dolphin Jun 17 '21 at 05:06

0 Answers0