Skip to content
Skip to Content
Coder Docs

OAuth2 protected resource metadata.

GET
/.well-known/oauth-protected-resource

Response Body

OK

application/json
  1. response
authorization_servers?array<string>
bearer_methods_supported?array<string>
resource?string
scopes_supported?array<string>

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/.well-known/oauth-protected-resource"
Example Response200
{  "authorization_servers": [    "string"  ],  "bearer_methods_supported": [    "string"  ],  "resource": "string",  "scopes_supported": [    "string"  ]}