Ajay Kumar

Ajay Kumar

  • 52
  • 29.1k
  • 1.6m

Auth Token in Web API

Jan 5 2024 5:54 AM

I have a Web API that uses ASP.NET Identity. Users are authenticated using a bearer token and refresh token. I want to implement a feature where if a user changes their password or their current refresh token becomes invalid, they will be automatically logged out from all devices. How can I achieve this?


Answers (3)