Skip to content
Skip to Content
Coder Docs

OAuth2 authorization server metadata.

GET
/.well-known/oauth-authorization-server

Response Body

OK

application/json
  1. response
authorization_endpoint?string
code_challenge_methods_supported?array<>
grant_types_supported?array<>
issuer?string
registration_endpoint?string
response_types_supported?array<>
revocation_endpoint?string
scopes_supported?array<string>
token_endpoint?string
token_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"  ]}