DEV Community

loading...

Discussion on: Stop Guessing: What is a JWT?

Collapse
hemant profile image
Hemant Joshi 😼

Does JWT changes after each login or it is constant for a user?

Collapse
stevescruz profile image
Steve Cruz Author • Edited

It changes after each login.

To be more specific: we use the same JWT until it expires, after it expires we need to login again, after we login once more a new JWT is generated.

Collapse
hemant profile image
Hemant Joshi 😼

Thanks a lot, I have been using jwt and managing to save it to local storage or cookies and tried to find answer 'is jet constant and finally found'

Thanks 🎉

Thread Thread
stevescruz profile image
Steve Cruz Author

I'm happy I could help. By the way I enjoyed some of your articles, keep up the good work!

Thread Thread
hemant profile image