OIDCInteractionRedirect
Package: @nauth-toolkit/client
Type: Interface
Where to send the browser after a decision.
import type { OIDCInteractionRedirect } from '@nauth-toolkit/client';
Properties
| Property | Type | Description |
|---|---|---|
redirectTo | string | Absolute URL to navigate to |
Leave the app entirely
Use window.location.assign(redirectTo), never a router navigation. The browser is leaving your single-page app: the provider resumes the authorization request and redirects on to the client from there.
Example
{
"redirectTo": "https://auth.example.com/oidc/auth/kPz3Q8sLm2"
}
Used By
- OIDCOperations.abort()
- OIDCOperations.approve()
- OIDCOperations.completeLogin()
- OIDCOperations.deny()