mario-core 2.9.230-sso → 2.9.231-sso
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 +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38471,8 +38471,13 @@ var useLogin = function useLogin() {
|
|
|
38471
38471
|
}, []);
|
|
38472
38472
|
|
|
38473
38473
|
var handleLoginWidthClever = function handleLoginWidthClever() {
|
|
38474
|
-
|
|
38475
|
-
|
|
38474
|
+
if (!isLocalhost) {
|
|
38475
|
+
var cleverSSOUrl = "https://clever.com/oauth/authorize?response_type=code&redirect_uri=" + encodeURIComponent("https://stage2.marioforme.com/api/clever/clever-login") + "&client_id=" + "ab1aff048ba4482d75fa";
|
|
38476
|
+
window.location.href = cleverSSOUrl;
|
|
38477
|
+
} else {
|
|
38478
|
+
var _cleverSSOUrl = "https://clever.com/oauth/instant-login?client_id=ab1aff048ba4482d75fa&district_id=66132a6f222bda41cc8abe5d";
|
|
38479
|
+
window.location.href = _cleverSSOUrl;
|
|
38480
|
+
}
|
|
38476
38481
|
};
|
|
38477
38482
|
|
|
38478
38483
|
var loginAccountClassLink = function loginAccountClassLink() {
|