Interface: AuthorizeUrlOptions
Properties
clientId?
optional clientId: string;
OAuth client id (defaults to DEFAULT_CLIENT_ID = "babelconnect").
codeChallenge
codeChallenge: string;
codeChallengeMethod?
optional codeChallengeMethod: "S256" | "plain";
redirectUri
redirectUri: string;
The registered callback URL the backend redirects to with the code.
scope
scope: string;
OAuth scope (e.g. "*").
serverUrl
serverUrl: string;
OAuth consent origin serving /oauth/authorize; this can differ from the agent API origin, which does not proxy that GET endpoint.
state?
optional state: string;
Opaque CSRF token echoed back by the backend; verify it on return.