Skip to content

Commit

Permalink
chore(backport release-0.8): fix(ui): infinite redirect loop when ren…
Browse files Browse the repository at this point in the history
…ewing OIDC token (#2375)
  • Loading branch information
akuitybot authored Aug 2, 2024
1 parent 872fb07 commit 2b085fb
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 2b085fb

Please sign in to comment.