@magmamath/frontend-config 1.0.19-hf.2 → 1.0.19-hf.4
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3284,7 +3284,7 @@ var ENV_AUTH_WEB_SE_MARS = {
|
|
|
3284
3284
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
3285
3285
|
GOOGLE_AUTH: "https://api.mars.matteappen.se/v2/auth/google",
|
|
3286
3286
|
MICROSOFT_AUTH: "https://api.mars.matteappen.se/v2/auth/microsoft",
|
|
3287
|
-
SKOLFEDERATION_AUTH: "https://fed.skolfederation.se/
|
|
3287
|
+
SKOLFEDERATION_AUTH: "https://fed.skolfederation.se/prod/ds/?entityID=https://matteappen.se&return=https://api.matteappen.se/v2/auth/skolfederation",
|
|
3288
3288
|
SKOLON_AUTH: "https://api.mars.matteappen.se/v2/auth/skolon",
|
|
3289
3289
|
CLARITY_PROJECT_ID: "rb6vqwkahr",
|
|
3290
3290
|
INTERCOM_APP_ID: "tjidhu4j"
|
|
@@ -4123,7 +4123,7 @@ var ENV_MOBILE_SE_MARS = {
|
|
|
4123
4123
|
LOGGLY_TAG: "MOBILE_MARS,MOBILE_MARS_SE",
|
|
4124
4124
|
GOOGLE_AUTH: "https://api.mars.matteappen.se/v2/auth/google",
|
|
4125
4125
|
MICROSOFT_AUTH: "https://api.mars.matteappen.se/v2/auth/microsoft",
|
|
4126
|
-
SKOLFEDERATION_AUTH: "https://fed.skolfederation.se/
|
|
4126
|
+
SKOLFEDERATION_AUTH: "https://fed.skolfederation.se/prod/ds/?entityID=https://matteappen.se&return=https://api.matteappen.se/v2/auth/skolfederation",
|
|
4127
4127
|
SKOLON_AUTH: "https://api.mars.matteappen.se/v2/auth/skolon"
|
|
4128
4128
|
};
|
|
4129
4129
|
|
|
@@ -5650,7 +5650,7 @@ var SSO_SKOLFEDERATION_CONFIG = {
|
|
|
5650
5650
|
ownUrl: true,
|
|
5651
5651
|
getUrl: (envs) => {
|
|
5652
5652
|
const returnUrl = encodeURIComponent(`${envs.API_URL}/auth/skolfederation`);
|
|
5653
|
-
return `${envs.SKOLFEDERATION_AUTH}
|
|
5653
|
+
return `${envs.SKOLFEDERATION_AUTH}&return=${returnUrl}`;
|
|
5654
5654
|
}
|
|
5655
5655
|
};
|
|
5656
5656
|
|