Node-jsonwebtoken: How to revoke exited token

Created on 9 Jan 2016  路  3Comments  路  Source: auth0/node-jsonwebtoken

Any ideas of how to implement revoke token?

Seems nobody has written nothing

Most helpful comment

Just wondering, why don't you implement token invalidation? It would save us resources that we have to allocate for blacklist (for example redis memory) and API would be more nice/consistent, e.g:

jwToken.destroy(token)

All 3 comments

Yes. Thanks for your help

Just wondering, why don't you implement token invalidation? It would save us resources that we have to allocate for blacklist (for example redis memory) and API would be more nice/consistent, e.g:

jwToken.destroy(token)

Was this page helpful?
0 / 5 - 0 ratings