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.
- NestJS
- Express
- Fastify
import { SocialRedirectCallbackResponseDTO } from '@nauth-toolkit/nestjs';
import { SocialRedirectCallbackResponseDTO } from '@nauth-toolkit/core';
import { SocialRedirectCallbackResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Redirect URL to the frontend (e.g. returnTo with appState or exchangeToken). |
Used By
Related
SocialCallbackQueryDTO- GET callback querySocialCallbackFormDTO- POST callback form (Apple)StartSocialRedirectResponseDTO- Start response