Initiate the OAuth Authorization Code flow.

Initiates the OAuth 2.0 Authorization Code flow. Authenticates the user and redirects to the provided redirect URI with an authorization code.

Notes:

* PKCE is required for public clients and optional for confidential clients based on their configuration.

Query Params
string
enum
required

Type of authorization response expected from the authorization server.

Allowed:
string
enum
Defaults to query

Indicates how the authorization server returns the response parameters to the client.

Allowed:
uri
required

Registered redirect URI that receives the authorization code.

string
required

OAuth client identifier.

string
enum

PKCE code-challenge method. Required for public clients (S256 only).

Allowed:
string

Base64url-encoded SHA-256 of the code_verifier. Required for public clients.

string

Optional value to maintain state between request and callback.

string

Optional space-delimited list of requested scopes.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
text/html
application/json