Skip to main content

SocialRedirectCallbackResponseDTO

Package: @nauth-toolkit/core Type: Response DTO (interface)

Response DTO returned by SocialRedirectHandler.callback(). Use with NestJS @Redirect() or equivalent to redirect the user to the frontend. In cookies mode, the handler applies cookies to the HTTP response via ContextStorage before returning; the controller only returns this DTO.

import { SocialRedirectCallbackResponseDTO } from '@nauth-toolkit/nestjs';

Properties

PropertyTypeRequiredDescription
urlstringYesRedirect URL to the frontend (e.g. returnTo with appState or exchangeToken).

Used By