Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openam-mcp-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.openidentityplatform.openam</groupId>
<artifactId>openam</artifactId>
<version>16.0.7-SNAPSHOT</version>
<version>16.1.1</version>
</parent>
<artifactId>openam-mcp-server</artifactId>
<name>OpenAM MCP Server</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,11 @@ public interface OAuth2Uris {
* @return The URL.
*/
String getDeviceAuthorizationEndpoint();

/**
* Returns the default URL for this provider's token Revocation endpoint.
*
* @return The URL.
*/
String getRevocationEndpoint();
}
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,10 @@ public String getClientRegistrationEndpoint() {
public String getDeviceAuthorizationEndpoint() {
return baseUrl + "/device/code";
}

@Override
public String getRevocationEndpoint() {
return baseUrl + "/revoke";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public JsonValue getConfiguration(OAuth2Request request) throws OAuth2Exception
configuration.put("claims_parameter_supported", providerSettings.getClaimsParameterSupported());
configuration.put("token_endpoint_auth_methods_supported", providerSettings.getEndpointAuthMethodsSupported());
configuration.put("device_authorization_endpoint", uris.getDeviceAuthorizationEndpoint());
configuration.put("revocation_endpoint", uris.getRevocationEndpoint());

return new JsonValue(configuration);
}
Expand Down