@insforge/react 0.7.4-dev.6 → 0.7.4

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.
@@ -1650,22 +1650,12 @@ function SignIn({ onError, ...uiProps }) {
1650
1650
  throw new Error(result.error);
1651
1651
  }
1652
1652
  const { user, accessToken, redirectTo } = result;
1653
- console.log("[SignIn] Login success:", {
1654
- hasUser: !!user,
1655
- userId: user?.id,
1656
- hasAccessToken: !!accessToken,
1657
- redirectTo,
1658
- redirectUrl,
1659
- currentLocation: window.location.href
1660
- });
1661
1653
  if (user) {
1662
1654
  const finalUrl = new URL(redirectTo || redirectUrl || "", window.location.origin);
1663
1655
  finalUrl.searchParams.set("access_token", accessToken);
1664
1656
  finalUrl.searchParams.set("user_id", user.id);
1665
1657
  finalUrl.searchParams.set("email", user.email);
1666
1658
  finalUrl.searchParams.set("name", user.name);
1667
- console.log("[SignIn] \u{1F504} About to redirect to:", finalUrl.toString());
1668
- console.log("[SignIn] \u26A0\uFE0F REDIRECT BLOCKED FOR DEBUGGING");
1669
1659
  window.location.href = finalUrl.toString();
1670
1660
  }
1671
1661
  } catch (err) {