How can i cancel my existing token while generating new token in dot net core 3.1 web api

i have created microservice in dot net core 3.1 and implemented jwt token. everything working as expected but i want to forcefully cancel my existing access token when i’m going to generate new acceess token.

Hi @jangiddeepak524,

Welcome to the Community!

Access tokens are valid until they expire, by design. They are stateless, and cannot be revoked in their current form. When you request a new token, you can delete the existing one, but you cannot revoke it if it has been copied.

Hope this clears things up,
Dan