spring-projects / spring-authorization-server

Spring Authorization Server
https://spring.io/projects/spring-authorization-server
Apache License 2.0
4.84k stars 1.27k forks source link

Using token_type_hint when find tokens in OAuth2TokenRevocationAuthenticationProvider #1580

Closed sangjaeoh closed 5 months ago

sangjaeoh commented 6 months ago

Hello.

I called oauth2/revoke with a token_type_hint to revoke the token, but I found that the token_type_hint was not being used.

I looked through the documentation, found that access_token and refresh_token can be provided as token_type_hint. (https://tools.ietf.org/html/rfc7009#section-2.1)

Thank you. 😃

jgrandja commented 5 months ago

Thanks for the PR @sangjaeoh. But this is a duplicate of gh-1260. Please see this comment for details.