Add SpringOpaqueTokenIntrospector #9354
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
The extent to which the Nimbus library is used in
Nimbus(Reactive)OpaqueTokenIntrospector
is minimal enough that there's value in creating Nimbus-free versions in order to simplify dependency management withcom.nimbusds:oauth2-oidc-sdk
.These Nimbus-free versions would become the default.
The existing classes use Nimbus for parsing the introspection HTTP response. These new implementations would instead rely on
RestTemplate
orWebClient
to parse the response as aMap
of attributes. Now as aMap
, theconvertClaimSet(TokenIntrospectionSuccessResponse)
would becomeconvertClaimSet(Map)
.For testing, all the tests in
Nimbus(Reactive)OpaqueTokenIntrospector
should be applicable forSpring(Reactive)OpaqueTokenIntrospector
.The text was updated successfully, but these errors were encountered: