Skip to main content
Two discovery documents let a client configure itself without hardcoding endpoint URLs. Both are public, unauthenticated GET requests that return static JSON. Most integrations can skip these and use the documented endpoints directly. They exist for OAuth client libraries that bootstrap from metadata.

Endpoints

Authentication

None. Both documents are public.

Authorization Server Metadata

Describes the authorization server, per RFC 8414.

Success Response

Status Code: 200 OK
scopes_supported is abbreviated above. It returns the complete scope registry, which can include values reserved for endpoints that do not exist yet. The scopes enforced by live endpoints are listed on OAuth Apps.

Response Fields

Protected Resource Metadata

Describes the API as an OAuth protected resource, per RFC 9728.

Success Response

Status Code: 200 OK
scopes_supported is abbreviated above, exactly as in the authorization server document.

Response Fields

Notes

Chamelio is both the authorization server and the protected resource, so issuer, resource, and authorization_servers all point at the same origin.

Use Cases

  • OAuth client libraries - Let a library configure its endpoints from metadata
  • Environment portability - Resolve endpoints per environment instead of hardcoding them
  • Capability checks - Confirm the supported grants and PKCE methods before implementing a flow