Skip to content

Commit

Permalink
fix(ui): infinite redirect loop when renewing OIDC token (akuity#2374)
Browse files Browse the repository at this point in the history
Signed-off-by: Remington Breeze <remington@breeze.software>
  • Loading branch information
rbreeze authored Aug 2, 2024
1 parent 1ceaa19 commit 2d5ae05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/features/auth/token-renew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export const TokenRenew = () => {
}

if (!as || !client) {
navigate(paths.login);

return;
}

Expand All @@ -82,6 +80,7 @@ export const TokenRenew = () => {
placement: 'bottomRight'
});
logout();
navigate(paths.login);
return;
}

Expand Down

0 comments on commit 2d5ae05

Please sign in to comment.