diff --git a/apps/dashboard/src/app/api/auth/[...nextauth]/route.ts b/apps/dashboard/src/app/api/auth/[...nextauth]/route.ts index c3b5d7417..cb7e53437 100644 --- a/apps/dashboard/src/app/api/auth/[...nextauth]/route.ts +++ b/apps/dashboard/src/app/api/auth/[...nextauth]/route.ts @@ -28,7 +28,7 @@ export async function GET(req: NextRequest) { } // Mail link scanners probe magic links with HEAD. Next would route HEAD to -// GET, which consumes the token; refuse the method before Auth.js sees it. +// GET, which consumes the token; answer 200 before Auth.js sees it. export function HEAD() { - return new Response(null, { status: 405, headers: { Allow: "GET, POST" } }); + return new Response(null, { status: 200 }); }