From 90970864e7cb13ef37820b35b05b208a473da924 Mon Sep 17 00:00:00 2001 From: Florian Zia Date: Thu, 17 Oct 2024 12:48:24 +0200 Subject: [PATCH] chore: Update silent authentication fallback path --- src/app/api/auth/[...nextauth]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts index 61584fdad4..bf1d9a028b 100644 --- a/src/app/api/auth/[...nextauth]/route.ts +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -19,7 +19,7 @@ const handler = async ( `${process.env.SERVER_URL}/api/auth/callback/fxa?error=`, ) ) { - return NextResponse.redirect(`${process.env.SERVER_URL}/user/dashboard`); + return NextResponse.redirect(process.env.SERVER_URL as string); } return NextAuth(req, res, authOptions) as Promise;