Cooldown 12с между portal handoff и страница sso_loop вместо бесконечного редиректа. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
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()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user