OAuth2 authorization server metadata.
GET
OK
application/json- response
authorization_endpoint?stringcode_challenge_methods_supported?array<>grant_types_supported?array<>issuer?stringregistration_endpoint?stringresponse_types_supported?array<>revocation_endpoint?stringscopes_supported?array<string>token_endpoint?stringtoken_endpoint_auth_methods_supported?array<>The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/.well-known/oauth-authorization-server"Example Response200
{ "authorization_endpoint": "string", "code_challenge_methods_supported": [ "S256" ], "grant_types_supported": [ "authorization_code" ], "issuer": "string", "registration_endpoint": "string", "response_types_supported": [ "code" ], "revocation_endpoint": "string", "scopes_supported": [ "string" ], "token_endpoint": "string", "token_endpoint_auth_methods_supported": [ "client_secret_basic" ]}