fix: update redirect URL for SSO (#7493)

This commit is contained in:
Pablo Lara authored and Pepe Fagoaga committed 2025-04-11 14:42:30 +02:00
1 parent f7ed5bd365
commit d8e575e6dc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ export async function GET(req: Request) {
// eslint-disable-next-line no-console
console.error("SignIn error:", error);
return NextResponse.redirect(
new URL("/sign-in?error=AuthenticationFailed", req.url),
new URL("/sign-in?error=AuthenticationFailed", baseUrl),
);
}
} catch (error) {