Authorize
Starts the OAuth2 authorization code flow. This endpoint redirects the user to login and consent (if needed), then redirects back to your redirect_uri with a code and state.
Query parameters
client_id
The OAuth application client ID (uid).
redirect_uri
Must exactly match one of the app's configured redirect URIs.
response_type
Must be code for the authorization code flow.
scope
Space-delimited list of requested scopes.
state
Opaque value returned to your callback for CSRF protection.
code_challenge
PKCE code challenge. Required for public clients.
code_challenge_method
PKCE challenge method (plain or S256). Required for public clients when using PKCE.
Allowed values:
Response
Redirect
Errors
400
O Auth Bad Request Error
401
O Auth Unauthorized Error