Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix(AuthLinker): redirect if target is bl-next
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianAndersen committed Aug 21, 2024
1 parent 781d857 commit fc67ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AuthLinker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function executeReturnRedirect(
} else if (caller === "bl-admin") {
target = `${BL_CONFIG.blAdmin.basePath}auth/gateway`;
} else {
target = "/";
target = `/${redirect ?? ""}`;
}
router.replace(attachTokensToHref(target));
}
Expand Down

0 comments on commit fc67ae8

Please sign in to comment.