fix: update redirect URL for SSO (#7493)

This commit is contained in:
Pablo Lara
2025-04-11 14:40:28 +02:00
committed by Pepe Fagoaga
parent f7ed5bd365
commit d8e575e6dc
2 changed files with 2 additions and 2 deletions
+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) {
+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) {