@insforge/react 0.7.4-dev.6 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1644,22 +1644,12 @@ function SignIn({ onError, ...uiProps }) {
1644
1644
  throw new Error(result.error);
1645
1645
  }
1646
1646
  const { user, accessToken, redirectTo } = result;
1647
- console.log("[SignIn] Login success:", {
1648
- hasUser: !!user,
1649
- userId: user?.id,
1650
- hasAccessToken: !!accessToken,
1651
- redirectTo,
1652
- redirectUrl,
1653
- currentLocation: window.location.href
1654
- });
1655
1647
  if (user) {
1656
1648
  const finalUrl = new URL(redirectTo || redirectUrl || "", window.location.origin);
1657
1649
  finalUrl.searchParams.set("access_token", accessToken);
1658
1650
  finalUrl.searchParams.set("user_id", user.id);
1659
1651
  finalUrl.searchParams.set("email", user.email);
1660
1652
  finalUrl.searchParams.set("name", user.name);
1661
- console.log("[SignIn] \u{1F504} About to redirect to:", finalUrl.toString());
1662
- console.log("[SignIn] \u26A0\uFE0F REDIRECT BLOCKED FOR DEBUGGING");
1663
1653
  window.location.href = finalUrl.toString();
1664
1654
  }
1665
1655
  } catch (err) {