Skip to content

Commit 6773837

Browse files
authored
fix: skip thirdparty sso state verification (#3721)
1 parent 2f6fca1 commit 6773837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/app/src/pages/login/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const provider = () => {
9797
await clearToken();
9898
router.prefetch('/app/list');
9999

100-
if (loginStore && state !== loginStore.state) {
100+
if (loginStore && loginStore.provider !== 'sso' && state !== loginStore.state) {
101101
toast({
102102
status: 'warning',
103103
title: t('common:support.user.login.security_failed')

0 commit comments

Comments
 (0)