Files
lettersoup-online/002_source/cms/src/app/auth/auth0/callback/route.ts
louiscklaw 6c931c1fe8 build ok,
2025-04-14 09:26:24 +08:00

11 lines
348 B
TypeScript

import type { NextRequest } from 'next/server';
import type { AppRouteHandlerFnContext } from '@auth0/nextjs-auth0';
import { auth0 } from '@/lib/auth/auth0/server';
export const dynamic = 'force-dynamic';
export async function GET(req: NextRequest, ctx: AppRouteHandlerFnContext): Promise<Response> {
return auth0.handleCallback(req, ctx);
}