Commit 1226fe42 by a.e Committed by GitHub

fix: skip thirdparty sso state verification (#3721) (#3782)

parent abd375cd
...@@ -97,7 +97,7 @@ const provider = () => { ...@@ -97,7 +97,7 @@ const provider = () => {
await clearToken(); await clearToken();
router.prefetch('/app/list'); router.prefetch('/app/list');
if (loginStore && state !== loginStore.state) { if (loginStore && loginStore.provider !== 'sso' && state !== loginStore.state) {
toast({ toast({
status: 'warning', status: 'warning',
title: t('common:support.user.login.security_failed') title: t('common:support.user.login.security_failed')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment