@base44-preview/sdk 0.8.4-pr.49.216dd31 → 0.8.4-pr.49.dcd1786

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.
@@ -53,7 +53,7 @@ export function createAuthModule(axios, functionsAxiosClient, appId, options) {
53
53
  const redirectUrl = new URL(fromUrl, window.location.origin).toString();
54
54
  // Build the provider login URL (google is the default, so no provider path needed)
55
55
  const providerPath = provider === "google" ? "" : `/${provider}`;
56
- const loginUrl = `${options.serverUrl}/api/apps/auth${providerPath}/login?appId=${appId}&from_url=${encodeURIComponent(redirectUrl)}`;
56
+ const loginUrl = `${options.serverUrl}/api/apps/auth${providerPath}/login?app_id=${appId}&from_url=${encodeURIComponent(redirectUrl)}`;
57
57
  // Redirect to the provider login page
58
58
  window.location.href = loginUrl;
59
59
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.4-pr.49.216dd31",
3
+ "version": "0.8.4-pr.49.dcd1786",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",