Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oauth2/Openid Connect. How to revoke unknown access/refresh tokens

In Oauth or Openid Connect, let's say an attacker takes an access or refresh token and the browser or app's caches are cleaned. Can a user revoke an access or refresh token issued by an Identity Provider if their string is not explicitly known?

like image 894
GTDev Avatar asked Sep 15 '25 04:09

GTDev


1 Answers

If your Token-Provider is at least an OAuth 2.0-Provider, it has to to implement the OAuth 2.0 Token Revocation.
The URL should be delivered by on OpenID Connect-Provider as "revocation_endpoint" in the /.well-known/openid-configuration.

like image 70
Martin Harm Avatar answered Sep 17 '25 19:09

Martin Harm