signInRedirect Method
Attempts a sign-in via redirection with the authorization provider. If possible, a non-interactive signin will be attempted first. If successful, the returned promise will be resolved. Otherwise, an attempt to redirect the browser will proceed. If an error prevents the redirection from occurring, the returned promise will be rejected with the responsible error. Otherwise, the browser's window will be redirected away from the current page, effectively ending execution here.
signInRedirect(successRedirectUrl?: string, args?: BrowserAuthorizationClientRequestOptions): Promise<void>
| Parameter | Type | Description |
|---|---|---|
| successRedirectUrl | string | (optional) path to redirect to after a successful authorization |
| args | BrowserAuthorizationClientRequestOptions | (optional) additional BrowserAuthorizationClientRequestOptions passed to signIn methods |
Returns - Promise
Defined in
- Client.ts Line 135
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.