I have Web API controllers. When I delete any user, the token of it should be deleted from azureadb2c. How can I do that in asp.net?
Asked
Active
Viewed 248 times
-1
-
1Does this answer your question? [How to invalidate Jwt token received from azure ad](https://stackoverflow.com/questions/59624916/how-to-invalidate-jwt-token-received-from-azure-ad) – rickvdbosch Jun 08 '20 at 11:35
-
Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions – Raghavendra beldona Jun 22 '20 at 14:43
1 Answers
0
You can try with invalidate the tokens if the user is soft deleted but it wont work when the user is hard deleted. Once the token is issued by Azure AD it can't be deleted. What you can do is you can validate the token with the requests

Raghavendra beldona
- 1,937
- 1
- 4
- 9