mitra-interactions-sdk 1.0.60-beta.45 → 1.0.60-beta.46

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
@@ -67,9 +67,11 @@ var SSO_AUTH_PAGE_URL = "https://beta.infusion.cloud/sdk-auth.html";
67
67
  async function fetchSsoAuthPageUrl(_baseURL) {
68
68
  const config = isConfigured() ? getConfig() : null;
69
69
  if (config == null ? void 0 : config.authPageUrl) return config.authPageUrl;
70
+ const injected = readInjectedEnv().authPageUrl;
71
+ if (injected) return injected;
70
72
  return SSO_AUTH_PAGE_URL;
71
73
  }
72
- var SSO_ENABLED_PROVIDERS = ["google"];
74
+ var SSO_ENABLED_PROVIDERS = ["google", "microsoft"];
73
75
  function providerLabel(provider) {
74
76
  return provider === "microsoft" ? "Microsoft" : provider === "google" ? "Google" : provider;
75
77
  }