OIDC discovery document
/environments/{environmentId}/.well-known/openid-configurationOIDC discovery document for an Environment (GET /environments/{environment_id}/.well-known/openid-configuration on the platform host, or GET /.well-known/openid-configuration on the Environment's active custom auth domain). Returns the unwrapped provider metadata: the Environment's issuer, the authorization, token, userinfo, JWKS, and revocation endpoints, and the supported capabilities — response_types_supported (code), grant_types_supported (authorization_code, refresh_token), id_token_signing_alg_values_supported (RS256), scopes_supported (openid, profile, email, org, permissions), and code_challenge_methods_supported (S256). Every Environment is its own issuer with its own signing keys; the platform host's root path is not one and answers 404.
Path Parameters
environmentIdstring Required The Environment's id
Responses
application/json
issuer *stringauthorization_endpoint *stringtoken_endpoint *stringuserinfo_endpoint *stringjwks_uri *stringrevocation_endpoint *stringend_session_endpoint *stringbackchannel_logout_supported *booleanbackchannel_logout_session_supported *booleanresponse_types_supported *string[]grant_types_supported *string[]subject_types_supported *string[]id_token_signing_alg_values_supported *string[]scopes_supported *string[]code_challenge_methods_supported *string[]token_endpoint_auth_methods_supported *string[]revocation_endpoint_auth_methods_supported *string[]
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/environments/value/.well-known/openid-configuration"
{ "issuer": "string", "authorization_endpoint": "string", "token_endpoint": "string", "userinfo_endpoint": "string", "jwks_uri": "string", "revocation_endpoint": "string", "end_session_endpoint": "string", "backchannel_logout_supported": false, "backchannel_logout_session_supported": false, "response_types_supported": [ "string" ], "grant_types_supported": [ "string" ], "subject_types_supported": [ "string" ], "id_token_signing_alg_values_supported": [ "string" ], "scopes_supported": [ "string" ], "code_challenge_methods_supported": [ "string" ], "token_endpoint_auth_methods_supported": [ "string" ], "revocation_endpoint_auth_methods_supported": [ "string" ] }
Tell us how we can improve this guide.