IdentityServer / IdentityServer3

OpenID Connect Provider and OAuth 2.0 Authorization Server Framework for ASP.NET 4.x/Katana
https://identityserver.github.io/Documentation/
Apache License 2.0
2.01k stars 763 forks source link

Revoke all tokens from specified user #3861

Closed WILLYTV closed 7 years ago

WILLYTV commented 7 years ago

(Identity Server 3)

Question / Issue

Revoke all tokens (access_token) from specified user. I m think cache all generated tokens and associated to specific user in application cache on identity server. The idea is get all tokens from specific user in this cache and call revoke token operation to remove all granted access to specified user.

My requirement is revoke all access from specific user.

brockallen commented 7 years ago

Whatever store you're using for the reference tokens you would need to call it to delete the tokens.