diff --git a/packages/admin/src/components/Login/LoginEntrypoint.tsx b/packages/admin/src/components/Login/LoginEntrypoint.tsx index 6b6336d84d..e298c30d06 100644 --- a/packages/admin/src/components/Login/LoginEntrypoint.tsx +++ b/packages/admin/src/components/Login/LoginEntrypoint.tsx @@ -142,7 +142,7 @@ const LoginContainer = ({ identityProviders }: { const hasOauthResponse = useMemo(() => { const params = new URLSearchParams(window.location.search) - return params.has('state') && params.has('code') && params.has('scope') + return params.has('state') && (params.has('code') || params.has('id_token')) }, []) if (hasOauthResponse) {