fix(auth): остановить SSO-цикл редиректов после handoff
Docker / build (push) Failing after 19s

Cooldown 12с между portal handoff и страница sso_loop вместо бесконечного редиректа.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
DenozordecandCursor committed 2026-07-18 16:08:50 +07:00
1 parent 47c1f37912
commit a61b352f0a
5 files changed
+130 -33

No files matched your search

@@ -40,6 +40,7 @@ import {
getClaims,
isAuthEnabled,
redirectToPortalLogin,
resetPortalHandoff,
} from '@/lib/auth'
/** Sidebar footer account menu — ReUI app-shell-1 NavUser. @see https://reui.io/preview/base/app-shell-1 */
@@ -128,6 +129,7 @@ export function NavUser() {
function handleSignOut() {
clearToken()
resetPortalHandoff()
redirectToPortalLogin()
}