Skip to content

Add revocation_endpoint to OpenID Connect discovery document#1058

Merged
vharseko merged 2 commits into
OpenIdentityPlatform:masterfrom
dairoca90:fix/add-revocation-endpoint
Jun 21, 2026
Merged

Add revocation_endpoint to OpenID Connect discovery document#1058
vharseko merged 2 commits into
OpenIdentityPlatform:masterfrom
dairoca90:fix/add-revocation-endpoint

Conversation

@dairoca90

Copy link
Copy Markdown
Contributor

Summary

This pull request adds the revocation_endpoint metadata to the OpenID Connect Discovery document (/.well-known/openid-configuration).

The token revocation endpoint is already implemented by OpenAM (/oauth2/revoke), but it is not advertised in the OpenID Connect discovery document.

Changes
Added getRevocationEndpoint() to OAuth2Uris.
Implemented the endpoint in OAuth2UrisFactory.OAuth2UrisImpl.
Added the revocation_endpoint property to OpenIDConnectProviderConfiguration.

Example

Before:

{
"token_endpoint": "https://server/oauth2/access_token"
}

After:

{
"token_endpoint": "https://server/oauth2/access_token",
"revocation_endpoint": "https://server/oauth2/revoke"
}
Compatibility

This change is fully backward compatible, as it only adds an additional metadata field to the discovery document and does not modify any existing endpoint behavior.
This endpoint is defined by RFC 7009 and can be advertised through the authorization server metadata used by OpenID Connect Discovery.

@vharseko vharseko requested a review from maximthomas June 20, 2026 05:35
@vharseko vharseko merged commit aae69be into OpenIdentityPlatform:master Jun 21, 2026
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants