How to revoke a JWT token? Typescript, MongoDB

As you know, jwt tokens are born as stateless entities. By itself, we can validate a jwt token just by a secret token and its expire time.

However, sometimes our service requires a token to become stateful, which means we can make a jwt token to be invalid in our service…

Bài viết được đăng bởi tác giả tại Link