I'm trying to using the revoke! method in rack-oauth2 to invalidate an OIDC refresh token, but I first need to configure the client with a revocation_endpoint target. It would be convenient if this endpoint was included in the Discovery::Provider::Config::Response object.
I've added revocation_endpoint to the list of optional attributes on the Response class, and added a test case to that end.
Described in RFC 8414.
I'm trying to using the
revoke!
method inrack-oauth2
to invalidate an OIDC refresh token, but I first need to configure the client with arevocation_endpoint
target. It would be convenient if this endpoint was included in theDiscovery::Provider::Config::Response
object.I've added
revocation_endpoint
to the list of optional attributes on theResponse
class, and added a test case to that end.