fix(auth): выходить через портал /logout вместо SSO return_to
Docker / build (push) Failing after 17s
Docker / build (push) Failing after 17s
Иначе живая сессия портала сразу возвращала JWT в приложение. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
51a52cbf79
commit
54ffed6e57
2 files changed
+10
-2
No files matched your search
@@ -39,7 +39,7 @@ import {
|
||||
clearToken,
|
||||
getClaims,
|
||||
isAuthEnabled,
|
||||
redirectToPortalLogin,
|
||||
redirectToPortalLogout,
|
||||
resetPortalHandoff,
|
||||
} from '@/lib/auth'
|
||||
|
||||
@@ -130,7 +130,7 @@ export function NavUser() {
|
||||
function handleSignOut() {
|
||||
clearToken()
|
||||
resetPortalHandoff()
|
||||
redirectToPortalLogin()
|
||||
redirectToPortalLogout()
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user