Start OAuth2 web flow
Initiates the OAuth2 authorization flow. Redirects the user to Mercury's consent page.
Request
- Base URLhttps://oauth2.mercury.com
- URLhttps://oauth2.mercury.com/oauth2/auth
- Authnone declared
Query parameters
The client ID you received from Mercury when you registered the client.
The URL in your application where users will be sent after authorization. Must match one of the URLs registered with the client.
A space-separated list of scopes that your client requests.
An unguessable random string, at least 8 characters long, used to protect against cross-site request forgery attacks.
Tells the authorization server which type of grant to execute. Must have value "code".
Required for clients with PKCE flow. Base64-URL-encoded string of the SHA256 hash of the code verifier.
Required for clients with PKCE flow. Must have value S256, the SHA256 function used to hash the code challenge.
Changes
No recorded changes to this operation across all 1 revision of this API.