Sign in
Log inSign up

How do you handle jwt token expiration?

NikosDev's photo
NikosDev
·Feb 26, 2019

Let's say we have the following scenario: A user login with correct credentials and he gets a token with expiration date. After some time (lets say 30 minutes) the token is expired and the user has to give again his credentials to be authorized. Our Goal is to not force the user give his username and password again.

How would you handle this problem? 🎉

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct