The OAuth2 client ID for your MiniApp.
The environment to use for authorization ('staging' or 'production').
The redirect URI registered for your MiniApp.
OptionalresponseThe response mode for the authorization flow.
The OAuth2 scopes to request (space-separated string).
Request parameters for initiating an OAuth2 authorization flow with PKCE.
Example
Production environment with redirect mode:
Example
Staging environment with in_place mode: