Skip to content

Commit

Permalink
fix: skip thirdparty sso state verification (#3721) (#3782)
Browse files Browse the repository at this point in the history
  • Loading branch information
I-Info authored Feb 14, 2025
1 parent abd375c commit 1226fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/app/src/pages/login/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const provider = () => {
await clearToken();
router.prefetch('/app/list');

if (loginStore && state !== loginStore.state) {
if (loginStore && loginStore.provider !== 'sso' && state !== loginStore.state) {
toast({
status: 'warning',
title: t('common:support.user.login.security_failed')
Expand Down

0 comments on commit 1226fe4

Please sign in to comment.