mario-core 2.9.311-release → 2.9.312-release
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 +2 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38322,7 +38322,7 @@ var msalConfig = {
|
|
|
38322
38322
|
auth: {
|
|
38323
38323
|
clientId: isLocalhost ? "a27f8ac9-e039-4bbd-a9e1-3096e52a77bb" : "90c6897c-f17b-475e-a7a8-9a19651e0060",
|
|
38324
38324
|
authority: "https://login.microsoftonline.com/common",
|
|
38325
|
-
redirectUri: "https://
|
|
38325
|
+
redirectUri: "https://sso.marioforme.com/microsoft-login.html"
|
|
38326
38326
|
},
|
|
38327
38327
|
cache: {
|
|
38328
38328
|
cacheLocation: "sessionStorage",
|
|
@@ -38846,8 +38846,7 @@ var useLogin = function useLogin() {
|
|
|
38846
38846
|
|
|
38847
38847
|
var _temp39 = function () {
|
|
38848
38848
|
if (accounts.length === 0) {
|
|
38849
|
-
|
|
38850
|
-
var domainRedirect = isLocalhost ? "https://brightsoft.marioforme.com" : "https://microsoft.marioforme.com";
|
|
38849
|
+
var domainRedirect = isLocalhost ? "https://brightsoft.marioforme.com" : "https://sso.marioforme.com";
|
|
38851
38850
|
window.location.href = (window.location.hostname === "localhost" ? "https://localhost:5001" : domainRedirect) + ("/microsoft-login.html?redirect-uri=" + window.location.href + "&schoolId=" + school.schoolId);
|
|
38852
38851
|
} else {
|
|
38853
38852
|
var currentAccount = accounts[0];
|