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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OAuth2 client identifier
"client_abc123xyz"
User's email address
User's password
"SecurePassword123!"
Redirect URI registered with the client
"https://yourapp.com/callback"
PKCE code challenge (base64url encoded)
"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
PKCE challenge method
S256, plain "S256"
OAuth2 response type
"code"
Space-separated list of requested scopes
"read write"
Session ID for RSA encryption
"session_xyz789"
Opaque value to maintain state between request and callback (CSRF protection)
"random_state_string_123"