OAuth2 Authorization Endpoint
GET /oauth2/authorize
Initiates an OAuth2 authorization code flow. Validates the request and redirects to the login UI for user authentication and consent.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”The OAuth2 client identifier (RFC 6749 Section 2.2).
The URI to redirect the user-agent to after authorization (RFC 6749 Section 3.1.2).
The authorization response type. Only ‘code’ is supported (RFC 6749 Section 3.1.1).
Space-delimited list of requested scopes (RFC 6749 Section 3.3).
Opaque value used to maintain state between the request and callback (RFC 6749 Section 4.1.1).
String value used to associate a client session with an ID token (OpenID Connect Core Section 3.1.2.1).
PKCE code challenge derived from the code verifier (RFC 7636 Section 4.2).
Only S256 is supported. The plain method is not allowed.
Resource indicator for the target service (RFC 8707).
Space-delimited list of prompts to present to the user (OpenID Connect Core Section 3.1.2.1).
Responses
Section titled “ Responses ”Redirect to login UI or back to client with error
Headers
Section titled “Headers ”default
Section titled “default ”OAuth2 error response
object
OAuth2 error code
Human-readable error description