'Spring Security Oauth2: ConsumerTokenServices deprecated - How to perform revokeToken in spring security 5.2.x
We are using Spring Security OAuth 2.5.x(now deprecated) and are migrating to Spring security 5.x.x. We are using ConsumerTokenServices.revokeToken method at the moment to revoke an existing token during logout or a manual refresh. How can this be achieved in Spring security 5.x.x? I have looked at the samples in here (https://github.com/spring-projects/spring-security/wiki/OAuth-2.0-Migration-Guide) but did not find anything specific to this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
