2👍
You can invalidate the token first then use route middleware for protecting routes. Take a look at this link, maybe it can be an inspiration for you to invalidate tokens.
Invalidating JSON Web Tokens
Source:stackexchange.com
2👍
You can invalidate the token first then use route middleware for protecting routes. Take a look at this link, maybe it can be an inspiration for you to invalidate tokens.
Invalidating JSON Web Tokens