Oauth
Authorization Code Request
Redirect the user to authenticate and obtain an Authorization Code.
GET
Redirects the user’s browser to authenticate and grant permissions. On success, issues a one-time Authorization Code to the registered
redirect_uri.
Query parameters
Unique client identifier issued during app registration.
Callback URL to receive the Authorization Code. Must exactly match the URI registered with the OAuth client.
Must be fixed value
code.Recommended. Random unique string for CSRF protection. Returned as-is in the redirect callback.
PKCE code challenge (43–128 chars). Required if
code_challenge_method is provided.PKCE method (
plain or S256). Required if code_challenge is provided.Response
On success, the user’s browser is redirected to theredirect_uri with the Authorization Code. On error, the browser is redirected to an error page.
One-time Authorization Code. Pass this to
POST /oauth/token to obtain tokens.Echoed back from the request. Use this to verify the response integrity.

