Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
126
rated 0 times [  129] [ 3]  / answers: 1 / hits: 7577  / 4 Years ago, fri, july 17, 2020, 12:00:00

I can't find any information about JWT token lifetime, how long in will be valid on Strapi CMS?


And how i can automatically refresh the token when it will be not valid?


And how can i do token validation, before i get exeption about token lifetime end? What is name of endpoit link?


More From » jwt

 Answers
5

I'm quite confident that the default duration is 30 days and it cannot be reissued using a refresh token.


I think this is an open issue. You can check here for more info:

https://github.com/strapi/strapi/issues/1676#issuecomment-409575253


And it's on the roadmap for future updates:

https://portal.productboard.com/strapi/1-public-roadmap/c/34-refresh-token-jwt


[#3149] Wednesday, July 15, 2020, 4 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quentinaveryb

Total Points: 102
Total Questions: 100
Total Answers: 93

Location: Colombia
Member since Mon, May 2, 2022
2 Years ago
quentinaveryb questions
Thu, Aug 6, 20, 00:00, 4 Years ago
Mon, Aug 12, 19, 00:00, 5 Years ago
Thu, May 16, 19, 00:00, 5 Years ago
;