oauth
Issue an authorization code after explicit user consent.
Changed onThe browser calls this endpoint from the consent page when the user clicks "Allow". The endpoint:
- Validates the requested scopes and key name shape (mirroring the self-service API key endpoint), so we reject obvious mistakes before issuing the code.
- Validates the callback URL scheme and host against auth.oauth_pkce.allowed_domains / denied_domains.
- Persists a single-use authorization code bound to the current user and the supplied PKCE challenge.
- Returns the redirect URL the page should send the browser to.
post/admin/v1/oauth/authorize
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/oauth/authorize
- Auth: HTTP bearer
Request body
Response
Authorization code issued
Changes
- info
endpoint added
- info