Description
Opaque Token Resource Server simplifies authorizing a Bearer Token request against an OAuth 2.0 /introspect
endpoint.
However, it only sends the token
request attribute, with no way to add custom parameters to the request.
It would be nice if the application could easily pass other parameters to the /introspect
endpoint.
Note that this ticket is restricted to custom parameters that don't come from the original Bearer token request itself. For example, this ticket isn't trying to solve how to take a custom header or other aspect of the Bearer token request and pass that to /introspect
. The reason is that that problem is trickier to solve and it will likely be better to address at another time.
One way to solve this would be to add a setter that takes a Converter<String, RequestEntity<?>>
. The application could specify in this Converter
what additional custom parameters are necessary.