DEV Community

Discussion on: Refresh JWT with Refresh Tokens in Asp Net Core 5 Rest API Step by Step

Collapse
 
walvarez00 profile image
Walter Alvarez

The project works if I change ValidateLifetime to false

This is a good solution?

Thanks

Collapse
 
moe23 profile image
Mohamad Lawand • Edited

Hi Walter, there is a small bug related to regeneration of the refresh token. I will push a fix for this within this week. We should always keep it to true

Thread Thread
 
walvarez00 profile image
Walter Alvarez

Thanks Mohamad

Thread Thread
 
afaggit profile image
afagGit

Hi Walter, hi Mohamad,

I'm still facing the same issue as described above. "jwtTokenHandler.ValidateToken" always throws an token expires exception. Is the bug fixed already?

Thank you and greetings.

Alex