Merge pull request #9410 from dataease/pr@dev-v2@fix_oidc_logout

fix(X-Pack): oidc退出登录报错
This commit is contained in:
fit2cloud-chenyw 2024-04-28 16:04:19 +08:00 committed by GitHub
commit 8818b50959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,7 @@ export const logoutHandler = (justClean?: boolean) => {
return
}
if (wsCache.get('out_auth_platform') === 'oidc') {
localStorage.removeItem('out_auth_platform')
window.location.href = '/oidcbi/oidc/logout'
return
}