Initiates the OAuth2 authorization flow by validating user credentials and establishing an authorization session. This endpoint begins the process of granting third-party applications access to user resources through the standard OAuth2 protocol.
Use Case: Start the OAuth2 authorization process when users connect external applications or services to their trading accounts.
OAuth2 client identifier
"client_abc123xyz"
User's email address
User's password
"SecurePassword123!"
Redirect URI registered with the client
"https://yourapp.com/callback"
OAuth2 response type (must be 'code')
code "code"
Opaque value to maintain state between request and callback (CSRF protection)
"random_state_string_123"
PKCE code challenge (base64url encoded)
"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
PKCE challenge method
S256, plain "S256"
Space-separated list of requested scopes
"read write"
Session ID for RSA encryption
"session_xyz789"