mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 12:31:54 +00:00
fix: update redirect URL for SSO (#7493)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user