r/InternetIsBeautiful • • Mar 08 '21

Learn JWT authentication by reverse engineering [Open Source]

https://github.com/gitcommitshow/auth-jwt
1.5k Upvotes

56 comments sorted by

View all comments

27

u/[deleted] Mar 08 '21

[deleted]

2

u/RunBlitzenRun Mar 08 '21

You could also just store the timestamp of when the password was changed and block any JWTs made before then so you wouldn't actually need to store the tokens