@insforge/react 0.2.6 → 0.2.8

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.
package/dist/index.js CHANGED
@@ -1765,9 +1765,6 @@ function InsforgeCallback({
1765
1765
  return;
1766
1766
  }
1767
1767
  const accessToken = searchParams.get("access_token");
1768
- const userId = searchParams.get("user_id");
1769
- const email = searchParams.get("email");
1770
- const name = searchParams.get("name");
1771
1768
  if (!accessToken) {
1772
1769
  const errorMsg = "no_token";
1773
1770
  if (onError) {
@@ -1783,10 +1780,7 @@ function InsforgeCallback({
1783
1780
  return;
1784
1781
  }
1785
1782
  const result = await handleAuthCallback({
1786
- accessToken,
1787
- userId: userId || void 0,
1788
- email: email || void 0,
1789
- name: name || void 0
1783
+ accessToken
1790
1784
  });
1791
1785
  if (!result.success) {
1792
1786
  const errorMsg = result.error || "authentication_failed";