- Update an authorization server for an MCP server
Updates an authorization server for a third-party Model Context Protocol (MCP) server. Use this request to perform partial updates on authorization server properties. You can't change the issuer.
What you can change depends on the authorization server type:
MANUALandDISCOVERABLEauthorization servers accept every field except the issuer.OIN(catalog-sourced) authorization servers accept onlysubjectMappingExpression,tenantId, andprotocolConfigured, and only when identity assertion is enabled for the org. The catalog owns all other fields, and a request that changes them returns a400error.OKTAauthorization servers accept onlyprotocolConfigured, and only when identity assertion is enabled for the org. A request that changes any other field returns a400error.
A request that changes nothing still returns 202 with an operation that's already completed.
URL of the authorization endpoint
OAuth 2.0 grant types supported by this authorization server
[ "authorization_code", "refresh_token" ]
STS and IDENTITY_ASSERTION. Optional.
- When omitted, the stored value is unchanged.
- When
null, the value resets to the type's default:[IDENTITY_ASSERTION]for anOKTAauthorization server and[STS]for all other types. - An empty array is rejected with a
400error. - Otherwise the array replaces the stored value exactly, so send every mechanism you want to keep.
- Every value must be in the authorization server's
protocolSupported, or the request is rejected with a400error. - For an
OKTAauthorization server, any combination ofSTSandIDENTITY_ASSERTIONis allowed. - Removing a mechanism is rejected with a
409error while an active managed connection of that kind uses this authorization server through any MCP server.
[ "STS", "IDENTITY_ASSERTION" ]
sub claim value for the ID-JAG token minted for this authorization server. Only meaningful when protocolConfigured includes IDENTITY_ASSERTION.
aud_tenant claim in the ID-JAG token minted for this MCP server's authorization server. Use null to clear the value.
- https://subdomain.okta.comhttps://subdomain.okta.com/resource-servers/api/v1/mcp-servers/{mcpServerId}/authorization-servers/{authorizationServerId}
curl -i -X PATCH \
https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4/authorization-servers/eas8nUa7p0g4zrZbs2f4 \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"authorizationEndpoint": "https://auth.example.com/v2/oauth/authorize",
"tokenEndpoint": "https://auth.example.com/v2/oauth/token",
"registrationEndpoint": "https://auth.example.com/v2/oauth/register"
}'Accepted
URL to poll for operation status. See Resource Server Operations.
No content