Skip to main content

OIDCInteractionRedirect

Package: @nauth-toolkit/client Type: Interface

Where to send the browser after a decision.

import type { OIDCInteractionRedirect } from '@nauth-toolkit/client';

Properties​

PropertyTypeDescription
redirectTostringAbsolute 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​

What's Next​