OAuth2 authorization endpoint
Changed onStarts the OAuth2 authorization code flow (RFC 6749 §4.1). The authenticated user (resource owner) grants the requesting OAuth client access to their Aura Historia account. PKCE (RFC 7636) with S256 is required for all requests.
On success the endpoint redirects (302) to the redirect_uri appending code and, if supplied, state as query parameters. The single-use authorization code must be exchanged for an access token via POST /api/v1/oauth/token before it expires. A delegated caller must have access-tokens:write and every requested OAuth scope.
Request
- Base URL: https://api.stage.aura-historia.com
- URL: https://api.stage.aura-historia.com/api/v1/oauth/authorize
- Auth: HTTP bearer
Query parameters
OAuth response type. Must be code.
Canonical OAuthClient ID.
Redirect URI registered for the OAuth client. Must exactly match one of the client's registered redirect URIs.
Space-separated list of requested scopes. Must be a subset of the client's allowed scopes.
Opaque client state value. Returned unchanged in the redirect to prevent CSRF attacks.
PKCE code challenge. Must be the base64url-encoded SHA256 hash of the code_verifier (S256 method).
PKCE challenge method. Must be S256.
Changes
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
for the
queryrequest parameterclient_id, the format was generalized fromuuidto no format - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking