web-manager 4.0.37 → 4.0.39
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/README.md +1 -1
- package/dist/index.js +4 -10
- package/firebase-debug.log +28 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,7 +249,7 @@ Manager.utilities(); // Utility functions
|
|
|
249
249
|
Manager.isDevelopment(); // Check if in development mode
|
|
250
250
|
Manager.getFunctionsUrl(); // Get Firebase Functions URL
|
|
251
251
|
Manager.getFunctionsUrl('development'); // Force development URL
|
|
252
|
-
Manager.getApiUrl(); // Get API URL (derived from
|
|
252
|
+
Manager.getApiUrl(); // Get API URL (derived from firebase authDomain)
|
|
253
253
|
Manager.isValidRedirectUrl('https://...'); // Validate redirect URL
|
|
254
254
|
|
|
255
255
|
// Firebase instances (after initialization)
|
package/dist/index.js
CHANGED
|
@@ -458,19 +458,13 @@ class Manager {
|
|
|
458
458
|
return 'http://localhost:5002';
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
|
|
462
|
-
const apiDomain = this.config.brand.url;
|
|
461
|
+
const apiDomain = this.config.firebase.app.config.authDomain; // Has to be this since some projects like Clockii use ITW Universal Auth
|
|
462
|
+
// const apiDomain = this.config.brand.url;
|
|
463
463
|
const baseUrl = url || (apiDomain ? `https://${apiDomain}` : window.location.origin);
|
|
464
464
|
const urlObj = new URL(baseUrl);
|
|
465
|
-
const hostnameParts = urlObj.hostname.split('.');
|
|
466
465
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
} else {
|
|
470
|
-
hostnameParts.unshift('api');
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
urlObj.hostname = hostnameParts.join('.');
|
|
466
|
+
// Prepend 'api.' subdomain (universal-auth.itwcreativeworks.com -> api.universal-auth.itwcreativeworks.com)
|
|
467
|
+
urlObj.hostname = `api.${urlObj.hostname}`;
|
|
474
468
|
|
|
475
469
|
// Strip trailing slash
|
|
476
470
|
return urlObj.toString().replace(/\/$/, '');
|
package/firebase-debug.log
CHANGED
|
@@ -686,3 +686,31 @@
|
|
|
686
686
|
[debug] [2025-12-13T10:11:01.873Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
687
687
|
[debug] [2025-12-13T10:11:01.874Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
688
688
|
[debug] [2025-12-13T10:11:01.874Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
689
|
+
[debug] [2025-12-16T09:00:20.853Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
690
|
+
[debug] [2025-12-16T09:00:20.853Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
691
|
+
[debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
692
|
+
[debug] [2025-12-16T09:00:20.856Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
693
|
+
[debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
694
|
+
[debug] [2025-12-16T09:00:20.869Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
695
|
+
[debug] [2025-12-16T09:00:20.870Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
696
|
+
[debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
697
|
+
[debug] [2025-12-16T09:00:20.856Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
698
|
+
[debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
699
|
+
[debug] [2025-12-16T09:00:20.871Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
700
|
+
[debug] [2025-12-16T09:00:20.871Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
701
|
+
[debug] [2025-12-16T09:00:20.889Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
702
|
+
[debug] [2025-12-16T09:00:20.890Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
703
|
+
[debug] [2025-12-16T09:00:20.889Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
704
|
+
[debug] [2025-12-16T09:00:20.890Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
705
|
+
[debug] [2025-12-16T09:00:20.890Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
706
|
+
[debug] [2025-12-16T09:00:20.892Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
707
|
+
[debug] [2025-12-16T09:00:20.892Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
708
|
+
[debug] [2025-12-16T09:00:20.893Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
709
|
+
[debug] [2025-12-16T09:00:20.893Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
710
|
+
[debug] [2025-12-16T09:00:20.890Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
711
|
+
[debug] [2025-12-16T09:00:20.891Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
712
|
+
[debug] [2025-12-16T09:00:20.891Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
713
|
+
[debug] [2025-12-16T09:00:20.893Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
714
|
+
[debug] [2025-12-16T09:00:20.893Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
715
|
+
[debug] [2025-12-16T09:00:20.894Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
716
|
+
[debug] [2025-12-16T09:00:20.894Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
package/package.json
CHANGED