forked from github/dataease
Merge pull request #9410 from dataease/pr@dev-v2@fix_oidc_logout
fix(X-Pack): oidc退出登录报错
This commit is contained in:
commit
8818b50959
@ -27,6 +27,7 @@ export const logoutHandler = (justClean?: boolean) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (wsCache.get('out_auth_platform') === 'oidc') {
|
if (wsCache.get('out_auth_platform') === 'oidc') {
|
||||||
|
localStorage.removeItem('out_auth_platform')
|
||||||
window.location.href = '/oidcbi/oidc/logout'
|
window.location.href = '/oidcbi/oidc/logout'
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user