@frontegg/js 7.118.0 → 7.120.0
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/index.js +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +414 -196
- package/umd/frontegg.production.min.js +1 -1
- package/umd/frontegg.production.min.js.LICENSE.txt +1 -1
- package/version.js +1 -1
|
@@ -1924,7 +1924,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1924
1924
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1925
1925
|
/* harmony export */ });
|
|
1926
1926
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1927
|
-
cdnVersion: '7.
|
|
1927
|
+
cdnVersion: '7.120.0'
|
|
1928
1928
|
});
|
|
1929
1929
|
|
|
1930
1930
|
/***/ }),
|
|
@@ -5508,10 +5508,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5508
5508
|
/* harmony export */ });
|
|
5509
5509
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
5510
5510
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers.js");
|
|
5511
|
+
/* harmony import */ var _helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/tenantSelect */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js");
|
|
5511
5512
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../constants */ "../../dist/@frontegg/redux-store/constants.js");
|
|
5512
|
-
/* harmony import */ var
|
|
5513
|
+
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../interfaces */ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js");
|
|
5514
|
+
/* harmony import */ var _StepUpState_consts__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../StepUpState/consts */ "../../dist/@frontegg/redux-store/auth/StepUpState/consts.js");
|
|
5513
5515
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
5514
|
-
/* harmony import */ var
|
|
5516
|
+
/* harmony import */ var _StepUpState_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../StepUpState/helpers */ "../../dist/@frontegg/redux-store/auth/StepUpState/helpers.js");
|
|
5515
5517
|
/* harmony import */ var _oauthStorage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../oauthStorage */ "../../dist/@frontegg/redux-store/auth/LoginState/oauthStorage.js");
|
|
5516
5518
|
|
|
5517
5519
|
|
|
@@ -5520,6 +5522,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5520
5522
|
|
|
5521
5523
|
|
|
5522
5524
|
|
|
5525
|
+
|
|
5526
|
+
|
|
5523
5527
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
|
|
5524
5528
|
const actions = sharedActions;
|
|
5525
5529
|
|
|
@@ -5661,29 +5665,132 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5661
5665
|
});
|
|
5662
5666
|
};
|
|
5663
5667
|
|
|
5668
|
+
/**
|
|
5669
|
+
* Choose-tenant gate — the single chokepoint all auth methods (password/MFA/SSO/passwordless/
|
|
5670
|
+
* passkey) and interstitials converge on. The trigger is the `authOptions.tenantSelection.enabled`
|
|
5671
|
+
* SDK option, so it fires identically for embedded and hosted integrators (in hosted mode
|
|
5672
|
+
* oauth-service is responsible for setting the option). When the option is on, the LD flag is on,
|
|
5673
|
+
* and the user has >1 switchable tenant, route to the ChooseTenant step instead of finalizing.
|
|
5674
|
+
* The ChooseTenant confirm handler sets `tenantChoiceResolved` and re-enters
|
|
5675
|
+
* afterAuthNavigation, which then falls through here. Runs only post-auth; no tenant data is read
|
|
5676
|
+
* until the resolved-guard, the LD flag, and the option all pass.
|
|
5677
|
+
*/
|
|
5678
|
+
const shouldRouteToChooseTenant = async () => {
|
|
5679
|
+
var _store$auth$tenantSel, _store$auth$user, _store$auth$user$act, _store$auth$tenantsSt;
|
|
5680
|
+
const loginState = store.auth.loginState;
|
|
5681
|
+
// Guard first so re-entry after the choice is resolved finalizes without re-reading the flag.
|
|
5682
|
+
if (loginState.tenantChoiceResolved) {
|
|
5683
|
+
return false;
|
|
5684
|
+
}
|
|
5685
|
+
// Cheap option guard before any flag/tenant work — never act when the integrator didn't opt in.
|
|
5686
|
+
const enabledByOption = ((_store$auth$tenantSel = store.auth.tenantSelection) == null ? void 0 : _store$auth$tenantSel.enabled) === true;
|
|
5687
|
+
if (!enabledByOption) {
|
|
5688
|
+
return false;
|
|
5689
|
+
}
|
|
5690
|
+
const [ldEnabled] = await actions.getFeatureFlags(['login-box-choose-tenant']);
|
|
5691
|
+
if (!ldEnabled) {
|
|
5692
|
+
return false; // feature off — never read tenant data
|
|
5693
|
+
}
|
|
5694
|
+
|
|
5695
|
+
const isImpersonation = !!((_store$auth$user = store.auth.user) != null && (_store$auth$user$act = _store$auth$user.act) != null && _store$auth$user$act.sub);
|
|
5696
|
+
if (isImpersonation) {
|
|
5697
|
+
return false;
|
|
5698
|
+
}
|
|
5699
|
+
// SSO/social postLogin authenticates without populating tenantsState — load it here so the
|
|
5700
|
+
// chooser also opens on those paths (password/MFA already have tenants from the login response).
|
|
5701
|
+
if (!((_store$auth$tenantsSt = store.auth.tenantsState.tenants) != null && _store$auth$tenantsSt.length)) {
|
|
5702
|
+
var _store$auth$tenantsSt2;
|
|
5703
|
+
let loadFailed = false;
|
|
5704
|
+
await actions.loadTenants({
|
|
5705
|
+
callback: (_tenants, error) => loadFailed = !!error
|
|
5706
|
+
});
|
|
5707
|
+
// Do NOT fail-open: if the tenant set could not be loaded while the feature is on, route to the
|
|
5708
|
+
// chooser (which shows a load error + retry / continue-with-current) instead of finalizing on
|
|
5709
|
+
// the default tenant and silently skipping the required org choice.
|
|
5710
|
+
if (loadFailed && !((_store$auth$tenantsSt2 = store.auth.tenantsState.tenants) != null && _store$auth$tenantsSt2.length)) {
|
|
5711
|
+
return true;
|
|
5712
|
+
}
|
|
5713
|
+
}
|
|
5714
|
+
const {
|
|
5715
|
+
tenants
|
|
5716
|
+
} = store.auth.tenantsState;
|
|
5717
|
+
return (0,_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_5__.shouldPromptChooseTenant)({
|
|
5718
|
+
ldEnabled,
|
|
5719
|
+
enabledByOption,
|
|
5720
|
+
tenants,
|
|
5721
|
+
isImpersonation,
|
|
5722
|
+
tenantChoiceResolved: loginState.tenantChoiceResolved
|
|
5723
|
+
});
|
|
5724
|
+
};
|
|
5725
|
+
|
|
5664
5726
|
/**
|
|
5665
5727
|
* After auth navigation for login flow
|
|
5666
5728
|
* Handling also step up scenario when user silently logout to continue to step up
|
|
5667
5729
|
*/
|
|
5730
|
+
|
|
5668
5731
|
const afterAuthNavigation = async payload => {
|
|
5669
5732
|
var _window4, _payload$preventRedir;
|
|
5733
|
+
// Once the choose-tenant step starts a switch the chooser owns navigation. Every re-entry here
|
|
5734
|
+
// (the switch's token refresh, and — critically — a late or timed-out switch completing AFTER the
|
|
5735
|
+
// user hit the escape hatch) must be a no-op, so navigation can't run twice or jump into the wrong
|
|
5736
|
+
// org. Two latches guard it: `chooseTenantSwitching` covers the in-login window, but it lives in
|
|
5737
|
+
// loginState and is wiped by the finalize's resetLoginState — so a late switch would slip through.
|
|
5738
|
+
// `tenantsState.switchingTenant` stays set for the WHOLE switchTenant call and survives that reset,
|
|
5739
|
+
// so it suppresses the late re-entry too. The confirm handler performs the ONE finalize via the
|
|
5740
|
+
// one-shot `chooseTenantFinalizing` flag, which passes through both latches and is consumed here.
|
|
5741
|
+
// (An in-app tenant switch never reaches this function — its refresh only calls afterAuthNavigation
|
|
5742
|
+
// from a login/callback URL, not from an authenticated app page — so this cannot over-suppress.)
|
|
5743
|
+
const {
|
|
5744
|
+
chooseTenantSwitching,
|
|
5745
|
+
chooseTenantFinalizing
|
|
5746
|
+
} = store.auth.loginState;
|
|
5747
|
+
const {
|
|
5748
|
+
switchingTenant
|
|
5749
|
+
} = store.auth.tenantsState;
|
|
5750
|
+
if ((chooseTenantSwitching || switchingTenant) && !chooseTenantFinalizing) {
|
|
5751
|
+
return;
|
|
5752
|
+
}
|
|
5753
|
+
if (chooseTenantFinalizing) {
|
|
5754
|
+
actions.setLoginState({
|
|
5755
|
+
chooseTenantFinalizing: false
|
|
5756
|
+
}); // consume: later re-entries stay suppressed
|
|
5757
|
+
}
|
|
5758
|
+
|
|
5670
5759
|
const {
|
|
5671
5760
|
customLoginAuthenticatedUrl,
|
|
5672
5761
|
stepUpUrl
|
|
5673
5762
|
} = store.auth.routes;
|
|
5674
5763
|
|
|
5764
|
+
// Step-up on the CURRENT tenant resolves before the org chooser: a user who needs both
|
|
5765
|
+
// authenticates + steps up first, then picks an org. switchTenant handles any MFA the chosen
|
|
5766
|
+
// org requires on its own, and the isSteppedUp guard below means an already-stepped-up user is
|
|
5767
|
+
// never re-prompted.
|
|
5675
5768
|
// login with magic code, try to step up, no other mfa, invalid max age, force_enroll -> logout, login with first factor, not-stepped up jwt -> navigate to step up
|
|
5676
|
-
const shouldStepUp = (_window4 = window) == null ? void 0 : _window4.localStorage.getItem(
|
|
5769
|
+
const shouldStepUp = (_window4 = window) == null ? void 0 : _window4.localStorage.getItem(_StepUpState_consts__WEBPACK_IMPORTED_MODULE_6__.SHOULD_STEP_UP_KEY);
|
|
5677
5770
|
const user = store.auth.user;
|
|
5678
5771
|
if (shouldStepUp) {
|
|
5679
5772
|
var _window5;
|
|
5680
|
-
(_window5 = window) == null ? void 0 : _window5.localStorage.removeItem(
|
|
5773
|
+
(_window5 = window) == null ? void 0 : _window5.localStorage.removeItem(_StepUpState_consts__WEBPACK_IMPORTED_MODULE_6__.SHOULD_STEP_UP_KEY);
|
|
5681
5774
|
}
|
|
5682
|
-
if (stepUpUrl && shouldStepUp && !(0,
|
|
5775
|
+
if (stepUpUrl && shouldStepUp && !(0,_StepUpState_helpers__WEBPACK_IMPORTED_MODULE_7__.isSteppedUp)(user)) {
|
|
5683
5776
|
return afterAuthNavigationUtil(actions.resetLoginState, {
|
|
5684
5777
|
forceStepUpUrl: stepUpUrl
|
|
5685
5778
|
});
|
|
5686
5779
|
}
|
|
5780
|
+
if (await shouldRouteToChooseTenant()) {
|
|
5781
|
+
actions.setLoginState({
|
|
5782
|
+
step: _interfaces__WEBPACK_IMPORTED_MODULE_8__.LoginStep.chooseTenant,
|
|
5783
|
+
loading: false
|
|
5784
|
+
});
|
|
5785
|
+
// Mirror the other post-auth interstitials (e.g. promptPasskeys): navigate to the login URL
|
|
5786
|
+
// so the ChooseTenant step actually renders even when afterAuthNavigation is invoked from an
|
|
5787
|
+
// OAuth/social callback route.
|
|
5788
|
+
store.auth.onRedirectTo(store.auth.routes.loginUrl, {
|
|
5789
|
+
preserveQueryParams: true
|
|
5790
|
+
});
|
|
5791
|
+
return; // do NOT finalize; ChooseTenant confirm re-enters afterAuthNavigation
|
|
5792
|
+
}
|
|
5793
|
+
|
|
5687
5794
|
let customLoginURL = customLoginAuthenticatedUrl;
|
|
5688
5795
|
if (!customLoginAuthenticatedUrl) {
|
|
5689
5796
|
var _store$auth$routes;
|
|
@@ -6154,26 +6261,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6154
6261
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/refreshTokenRetry.js");
|
|
6155
6262
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
6156
6263
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
|
|
6157
|
-
/* harmony import */ var
|
|
6158
|
-
/* harmony import */ var
|
|
6159
|
-
/* harmony import */ var
|
|
6264
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/gtm.js");
|
|
6265
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/encoders.js");
|
|
6266
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/converters.js");
|
|
6160
6267
|
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../state */ "../../dist/@frontegg/redux-store/auth/LoginState/state.js");
|
|
6161
6268
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers.js");
|
|
6162
6269
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
|
|
6163
6270
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/utils.js");
|
|
6164
6271
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/feature-flags/index.js");
|
|
6165
6272
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/enums.js");
|
|
6166
|
-
/* harmony import */ var
|
|
6273
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
|
|
6167
6274
|
/* harmony import */ var _hostedLoginAuthorize_actions__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./hostedLoginAuthorize.actions */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/hostedLoginAuthorize.actions.js");
|
|
6168
|
-
/* harmony import */ var
|
|
6169
|
-
/* harmony import */ var
|
|
6275
|
+
/* harmony import */ var _oauthStorage__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../oauthStorage */ "../../dist/@frontegg/redux-store/auth/LoginState/oauthStorage.js");
|
|
6276
|
+
/* harmony import */ var _StepUpState_consts__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../StepUpState/consts */ "../../dist/@frontegg/redux-store/auth/StepUpState/consts.js");
|
|
6170
6277
|
/* harmony import */ var _toolkit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../toolkit */ "../../dist/@frontegg/redux-store/toolkit/FronteggNativeModule.js");
|
|
6171
6278
|
/* harmony import */ var _toolkit__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../toolkit */ "../../dist/@frontegg/redux-store/auth/Entitlements/helpers.js");
|
|
6172
6279
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
6173
|
-
/* harmony import */ var
|
|
6280
|
+
/* harmony import */ var _consts__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../consts */ "../../dist/@frontegg/redux-store/auth/LoginState/consts.js");
|
|
6174
6281
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/auth/helpers.js");
|
|
6175
6282
|
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
6176
|
-
/* harmony import */ var
|
|
6283
|
+
/* harmony import */ var _SSOState_interfaces__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../SSOState/interfaces */ "../../dist/@frontegg/redux-store/auth/SSOState/interfaces.js");
|
|
6177
6284
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../constants */ "../../dist/@frontegg/redux-store/constants.js");
|
|
6178
6285
|
|
|
6179
6286
|
|
|
@@ -6587,11 +6694,23 @@ const _excluded = ["callback", "error"],
|
|
|
6587
6694
|
}));
|
|
6588
6695
|
const {
|
|
6589
6696
|
address,
|
|
6590
|
-
idpType
|
|
6697
|
+
idpType,
|
|
6698
|
+
addressType
|
|
6591
6699
|
} = preLoginResult != null ? preLoginResult : {};
|
|
6592
6700
|
if (address) {
|
|
6701
|
+
if (addressType === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_17__.PreLoginAddressType.External) {
|
|
6702
|
+
// Domain-based routing: navigate to the vendor legacy login URL immediately,
|
|
6703
|
+
// skipping the SSO interstitial and the SSO/OIDC-specific handling.
|
|
6704
|
+
setLoginState({
|
|
6705
|
+
loading: false
|
|
6706
|
+
});
|
|
6707
|
+
onRedirectTo(address, {
|
|
6708
|
+
refresh: true
|
|
6709
|
+
});
|
|
6710
|
+
return;
|
|
6711
|
+
}
|
|
6593
6712
|
let ssoRedirectUrl = address;
|
|
6594
|
-
if (idpType ===
|
|
6713
|
+
if (idpType === _SSOState_interfaces__WEBPACK_IMPORTED_MODULE_18__.SamlVendors.Oidc && !ssoRedirectUrl.includes('redirect_uri')) {
|
|
6595
6714
|
const {
|
|
6596
6715
|
oidcRedirectUrl
|
|
6597
6716
|
} = store.auth.routes;
|
|
@@ -6665,7 +6784,7 @@ const _excluded = ["callback", "error"],
|
|
|
6665
6784
|
email: user.email,
|
|
6666
6785
|
name: user.name
|
|
6667
6786
|
};
|
|
6668
|
-
(0,
|
|
6787
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_19__.reportGTMEvent)(_helpers__WEBPACK_IMPORTED_MODULE_19__.GTMEventAction.LOGIN_COMPLETED, loginCompletedPayload);
|
|
6669
6788
|
}
|
|
6670
6789
|
await actions.afterAuthNavigation();
|
|
6671
6790
|
} catch (e) {
|
|
@@ -6744,7 +6863,10 @@ const _excluded = ["callback", "error"],
|
|
|
6744
6863
|
step: loginState.flow === _interfaces__WEBPACK_IMPORTED_MODULE_6__.LoginFlow.Login ? _interfaces__WEBPACK_IMPORTED_MODULE_6__.LoginStep.success : loginState.step,
|
|
6745
6864
|
tenants,
|
|
6746
6865
|
tenantsLoading: true,
|
|
6747
|
-
isBreachedPassword: user.isBreachedPassword
|
|
6866
|
+
isBreachedPassword: user.isBreachedPassword,
|
|
6867
|
+
// Preserve the choose-tenant guard across this post-login state rebuild so a
|
|
6868
|
+
// resolved choice is not re-prompted (choose-organization).
|
|
6869
|
+
tenantChoiceResolved: loginState.tenantChoiceResolved
|
|
6748
6870
|
},
|
|
6749
6871
|
isAuthenticated
|
|
6750
6872
|
});
|
|
@@ -6758,7 +6880,7 @@ const _excluded = ["callback", "error"],
|
|
|
6758
6880
|
email,
|
|
6759
6881
|
name: user.name
|
|
6760
6882
|
};
|
|
6761
|
-
(0,
|
|
6883
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_19__.reportGTMEvent)(_helpers__WEBPACK_IMPORTED_MODULE_19__.GTMEventAction.LOGIN_COMPLETED, loginCompletedPayload);
|
|
6762
6884
|
}
|
|
6763
6885
|
if (loginState.flow === _interfaces__WEBPACK_IMPORTED_MODULE_6__.LoginFlow.Login) {
|
|
6764
6886
|
if (securityCenterLoginFlows && user.isBreachedPassword && !isAuthenticated) {
|
|
@@ -6819,7 +6941,7 @@ const _excluded = ["callback", "error"],
|
|
|
6819
6941
|
}
|
|
6820
6942
|
// Step-up re-login goes through silentLogout but still needs the hosted OAuth state to finish the client flow.
|
|
6821
6943
|
if (!keepHostedOAuthState) {
|
|
6822
|
-
(0,
|
|
6944
|
+
(0,_oauthStorage__WEBPACK_IMPORTED_MODULE_20__.clearHostedOAuthState)();
|
|
6823
6945
|
}
|
|
6824
6946
|
};
|
|
6825
6947
|
const logout = async payload => {
|
|
@@ -6848,7 +6970,7 @@ const _excluded = ["callback", "error"],
|
|
|
6848
6970
|
} catch {
|
|
6849
6971
|
/* empty */
|
|
6850
6972
|
}
|
|
6851
|
-
const isStepUpInProgress = !!((_window2 = window) != null && _window2.localStorage.getItem(
|
|
6973
|
+
const isStepUpInProgress = !!((_window2 = window) != null && _window2.localStorage.getItem(_StepUpState_consts__WEBPACK_IMPORTED_MODULE_21__.SHOULD_STEP_UP_KEY));
|
|
6852
6974
|
clearLogoutLocalState({
|
|
6853
6975
|
keepHostedOAuthState: isStepUpInProgress
|
|
6854
6976
|
});
|
|
@@ -6984,7 +7106,7 @@ const _excluded = ["callback", "error"],
|
|
|
6984
7106
|
username: (_username = username) != null ? _username : ''
|
|
6985
7107
|
}));
|
|
6986
7108
|
// @ts-ignore
|
|
6987
|
-
const step =
|
|
7109
|
+
const step = _consts__WEBPACK_IMPORTED_MODULE_22__.authStrategyLoginStepMap[payload.type];
|
|
6988
7110
|
setLoginState({
|
|
6989
7111
|
step,
|
|
6990
7112
|
loading: false,
|
|
@@ -7041,7 +7163,7 @@ const _excluded = ["callback", "error"],
|
|
|
7041
7163
|
name: user.name
|
|
7042
7164
|
};
|
|
7043
7165
|
events == null ? void 0 : (_events$userVerified = events.userVerified) == null ? void 0 : _events$userVerified.call(events, userVerifiedPayload);
|
|
7044
|
-
(0,
|
|
7166
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_19__.reportGTMEvent)(_helpers__WEBPACK_IMPORTED_MODULE_19__.GTMEventAction.USER_VERIFIED, userVerifiedPayload);
|
|
7045
7167
|
}
|
|
7046
7168
|
const loginCompletedPayload = {
|
|
7047
7169
|
tenantId: user.tenantId,
|
|
@@ -7051,7 +7173,7 @@ const _excluded = ["callback", "error"],
|
|
|
7051
7173
|
email: user.email,
|
|
7052
7174
|
name: user.name
|
|
7053
7175
|
};
|
|
7054
|
-
(0,
|
|
7176
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_19__.reportGTMEvent)(_helpers__WEBPACK_IMPORTED_MODULE_19__.GTMEventAction.LOGIN_COMPLETED, loginCompletedPayload);
|
|
7055
7177
|
if (user.id) {
|
|
7056
7178
|
localStorage.setItem('userId', user.id);
|
|
7057
7179
|
}
|
|
@@ -7149,9 +7271,9 @@ const _excluded = ["callback", "error"],
|
|
|
7149
7271
|
const {
|
|
7150
7272
|
options
|
|
7151
7273
|
} = await api.auth.webAuthnPreLogin(body);
|
|
7152
|
-
options.challenge = (0,
|
|
7274
|
+
options.challenge = (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(options.challenge);
|
|
7153
7275
|
options.allowCredentials = (_options$allowCredent = options.allowCredentials) == null ? void 0 : _options$allowCredent.map(credentials => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, credentials, {
|
|
7154
|
-
id: (0,
|
|
7276
|
+
id: (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(credentials.id)
|
|
7155
7277
|
}));
|
|
7156
7278
|
setLoginState({
|
|
7157
7279
|
error: undefined
|
|
@@ -7184,7 +7306,7 @@ const _excluded = ["callback", "error"],
|
|
|
7184
7306
|
setLoginState({
|
|
7185
7307
|
loading: true
|
|
7186
7308
|
});
|
|
7187
|
-
const publicKey = (0,
|
|
7309
|
+
const publicKey = (0,_helpers__WEBPACK_IMPORTED_MODULE_24__.publicKeyCredentialToJSON)(body.publicKey);
|
|
7188
7310
|
const _await$api$auth$webAu = await api.auth.webAuthnPostLoginV2((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, publicKey, {
|
|
7189
7311
|
response: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, publicKey.response, {
|
|
7190
7312
|
userHandle: (_publicKey$response$u = publicKey.response.userHandle) != null ? _publicKey$response$u : undefined
|
|
@@ -7227,7 +7349,7 @@ const _excluded = ["callback", "error"],
|
|
|
7227
7349
|
email: user.email,
|
|
7228
7350
|
name: user.name
|
|
7229
7351
|
};
|
|
7230
|
-
(0,
|
|
7352
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_19__.reportGTMEvent)(_helpers__WEBPACK_IMPORTED_MODULE_19__.GTMEventAction.LOGIN_COMPLETED, loginCompletedPayload);
|
|
7231
7353
|
await actions.afterAuthNavigation();
|
|
7232
7354
|
// TODO: Itamar why moving callback to inside the else block
|
|
7233
7355
|
callback == null ? void 0 : callback(true);
|
|
@@ -7260,8 +7382,8 @@ const _excluded = ["callback", "error"],
|
|
|
7260
7382
|
const {
|
|
7261
7383
|
options
|
|
7262
7384
|
} = await api.auth.webAuthnCreateNewDeviceSession();
|
|
7263
|
-
options.user.id = (0,
|
|
7264
|
-
options.challenge = (0,
|
|
7385
|
+
options.user.id = (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(options.user.id);
|
|
7386
|
+
options.challenge = (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(options.challenge);
|
|
7265
7387
|
options.excludeCredentials = [];
|
|
7266
7388
|
callback == null ? void 0 : callback(options);
|
|
7267
7389
|
} catch (e) {
|
|
@@ -7284,8 +7406,8 @@ const _excluded = ["callback", "error"],
|
|
|
7284
7406
|
setLoginState({
|
|
7285
7407
|
loading: true
|
|
7286
7408
|
});
|
|
7287
|
-
const publicKey = (0,
|
|
7288
|
-
const deviceType = (publicKey == null ? void 0 : publicKey.authenticatorAttachment) === 'platform' ?
|
|
7409
|
+
const publicKey = (0,_helpers__WEBPACK_IMPORTED_MODULE_24__.publicKeyCredentialToJSON)(body.publicKey);
|
|
7410
|
+
const deviceType = (publicKey == null ? void 0 : publicKey.authenticatorAttachment) === 'platform' ? _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_17__.WebAuthnDeviceType.Platform : _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_17__.WebAuthnDeviceType.CrossPlatform;
|
|
7289
7411
|
await api.auth.verifyNewDeviceSession({
|
|
7290
7412
|
id: publicKey.id,
|
|
7291
7413
|
response: publicKey.response,
|
|
@@ -7352,12 +7474,12 @@ const _excluded = ["callback", "error"],
|
|
|
7352
7474
|
var _data$options$exclude;
|
|
7353
7475
|
const data = await api.auth.preEnrollMFAWebAuthnForLogin(payload);
|
|
7354
7476
|
const options = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, data.options, {
|
|
7355
|
-
challenge: (0,
|
|
7477
|
+
challenge: (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(data.options.challenge),
|
|
7356
7478
|
user: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, data.options.user, {
|
|
7357
|
-
id: (0,
|
|
7479
|
+
id: (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(data.options.user.id)
|
|
7358
7480
|
}),
|
|
7359
7481
|
excludeCredentials: (_data$options$exclude = data.options.excludeCredentials) == null ? void 0 : _data$options$exclude.map(credentials => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, credentials, {
|
|
7360
|
-
id: (0,
|
|
7482
|
+
id: (0,_helpers__WEBPACK_IMPORTED_MODULE_23__.base64urlDecode)(credentials.id)
|
|
7361
7483
|
}))
|
|
7362
7484
|
});
|
|
7363
7485
|
setLoginState({
|
|
@@ -7384,7 +7506,7 @@ const _excluded = ["callback", "error"],
|
|
|
7384
7506
|
loading: true
|
|
7385
7507
|
});
|
|
7386
7508
|
try {
|
|
7387
|
-
const publicKey = (0,
|
|
7509
|
+
const publicKey = (0,_helpers__WEBPACK_IMPORTED_MODULE_24__.publicKeyCredentialToJSON)(payload.publicKey);
|
|
7388
7510
|
const data = await api.auth.enrollMFAWebAuthnForLoginV2((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, payload, {
|
|
7389
7511
|
options: publicKey
|
|
7390
7512
|
}));
|
|
@@ -8570,6 +8692,75 @@ const shouldShowPasswordRotationPromptFunc = user => {
|
|
|
8570
8692
|
|
|
8571
8693
|
/***/ }),
|
|
8572
8694
|
|
|
8695
|
+
/***/ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js":
|
|
8696
|
+
/*!********************************************************************************!*\
|
|
8697
|
+
!*** ../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js ***!
|
|
8698
|
+
\********************************************************************************/
|
|
8699
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8700
|
+
|
|
8701
|
+
"use strict";
|
|
8702
|
+
__webpack_require__.r(__webpack_exports__);
|
|
8703
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8704
|
+
/* harmony export */ getSwitchableTenants: () => (/* binding */ getSwitchableTenants),
|
|
8705
|
+
/* harmony export */ shouldPromptChooseTenant: () => (/* binding */ shouldPromptChooseTenant)
|
|
8706
|
+
/* harmony export */ });
|
|
8707
|
+
/**
|
|
8708
|
+
* A switchable tenant membership carries fields returned by GET /me/tenants that are not
|
|
8709
|
+
* part of the base ITenantsResponseV2 shape (pending invite / disabled / temporary access).
|
|
8710
|
+
*/
|
|
8711
|
+
|
|
8712
|
+
/**
|
|
8713
|
+
* The set of tenants the user can actually switch into — the same set `switchActiveTenant`
|
|
8714
|
+
* accepts server-side, so the chooser never lists a tenant that would be rejected at confirm time.
|
|
8715
|
+
* Excludes: pending invites (invitationToken), locked/disabled tenants, and expired temporary access.
|
|
8716
|
+
*/
|
|
8717
|
+
function getSwitchableTenants(tenants) {
|
|
8718
|
+
if (!tenants) {
|
|
8719
|
+
return [];
|
|
8720
|
+
}
|
|
8721
|
+
const now = Date.now();
|
|
8722
|
+
return tenants.filter(tenant => {
|
|
8723
|
+
const t = tenant;
|
|
8724
|
+
if (t.invitationToken) {
|
|
8725
|
+
return false; // invited, not yet a member
|
|
8726
|
+
}
|
|
8727
|
+
|
|
8728
|
+
if (t.isDisabled) {
|
|
8729
|
+
return false; // locked/disabled tenant
|
|
8730
|
+
}
|
|
8731
|
+
|
|
8732
|
+
if (t.temporaryExpirationDate && new Date(t.temporaryExpirationDate).getTime() < now) {
|
|
8733
|
+
return false; // temporary access expired
|
|
8734
|
+
}
|
|
8735
|
+
|
|
8736
|
+
return true;
|
|
8737
|
+
});
|
|
8738
|
+
}
|
|
8739
|
+
|
|
8740
|
+
/**
|
|
8741
|
+
* The single gate for the post-auth "choose organization" dialog. The trigger is the
|
|
8742
|
+
* `authOptions.tenantSelection.enabled` SDK option (`enabledByOption`) — the same signal for embedded
|
|
8743
|
+
* and hosted (in hosted mode oauth-service is responsible for setting the option). The `>1` gate is
|
|
8744
|
+
* over the SWITCHABLE set; undefined/empty tenants collapse to 0 and fall through (fail-safe).
|
|
8745
|
+
*/
|
|
8746
|
+
function shouldPromptChooseTenant(args) {
|
|
8747
|
+
if (!args.ldEnabled) {
|
|
8748
|
+
return false;
|
|
8749
|
+
}
|
|
8750
|
+
if (args.tenantChoiceResolved) {
|
|
8751
|
+
return false;
|
|
8752
|
+
}
|
|
8753
|
+
if (args.isImpersonation) {
|
|
8754
|
+
return false;
|
|
8755
|
+
}
|
|
8756
|
+
if (!args.enabledByOption) {
|
|
8757
|
+
return false;
|
|
8758
|
+
}
|
|
8759
|
+
return getSwitchableTenants(args.tenants).length > 1;
|
|
8760
|
+
}
|
|
8761
|
+
|
|
8762
|
+
/***/ }),
|
|
8763
|
+
|
|
8573
8764
|
/***/ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js":
|
|
8574
8765
|
/*!**********************************************************************!*\
|
|
8575
8766
|
!*** ../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js ***!
|
|
@@ -8607,6 +8798,7 @@ let LoginStep;
|
|
|
8607
8798
|
LoginStep["passwordRotationExpired"] = "passwordRotationExpired";
|
|
8608
8799
|
LoginStep["passwordRotationNotification"] = "passwordRotationNotification";
|
|
8609
8800
|
LoginStep["magicLinkPostLoginSuccess"] = "magicLinkPostLoginSuccess";
|
|
8801
|
+
LoginStep["chooseTenant"] = "chooseTenant";
|
|
8610
8802
|
})(LoginStep || (LoginStep = {}));
|
|
8611
8803
|
let LoginFlow;
|
|
8612
8804
|
(function (LoginFlow) {
|
|
@@ -8757,7 +8949,10 @@ const initialState = {
|
|
|
8757
8949
|
step: _interfaces__WEBPACK_IMPORTED_MODULE_0__.LoginStep.preLogin,
|
|
8758
8950
|
loading: false,
|
|
8759
8951
|
email: '',
|
|
8760
|
-
tenants: []
|
|
8952
|
+
tenants: [],
|
|
8953
|
+
tenantChoiceResolved: false,
|
|
8954
|
+
chooseTenantSwitching: false,
|
|
8955
|
+
chooseTenantFinalizing: false
|
|
8761
8956
|
};
|
|
8762
8957
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (overrideState => (0,_toolkit_proxy__WEBPACK_IMPORTED_MODULE_1__.createProxy)(initialState, overrideState));
|
|
8763
8958
|
|
|
@@ -17716,6 +17911,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17716
17911
|
const {
|
|
17717
17912
|
tenantId,
|
|
17718
17913
|
silentReload,
|
|
17914
|
+
keepLoginState,
|
|
17719
17915
|
callback
|
|
17720
17916
|
} = payload;
|
|
17721
17917
|
silentReload ? actions.setTenantsState({
|
|
@@ -17727,7 +17923,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17727
17923
|
await api.tenants.switchTenant({
|
|
17728
17924
|
tenantId
|
|
17729
17925
|
});
|
|
17730
|
-
|
|
17926
|
+
|
|
17927
|
+
// keepLoginState skips the auth-state reset (which would clobber the in-flight loginState —
|
|
17928
|
+
// step, choose-tenant guards). __refreshToken below re-establishes user/isAuthenticated, so the
|
|
17929
|
+
// reset is only needed to clear stale state for the standard tab-switch use case.
|
|
17930
|
+
if (silentReload && !keepLoginState) {
|
|
17731
17931
|
actions.resetAuthState({
|
|
17732
17932
|
isLoading: false,
|
|
17733
17933
|
isAuthenticated: true,
|
|
@@ -18356,89 +18556,91 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18356
18556
|
/* harmony export */ getEntitlements: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.getEntitlements),
|
|
18357
18557
|
/* harmony export */ getFeatureEntitlements: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.getFeatureEntitlements),
|
|
18358
18558
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.getPermissionEntitlements),
|
|
18559
|
+
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _LoginState_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_24__.getSwitchableTenants),
|
|
18359
18560
|
/* harmony export */ isEntitlementsDeeplyEqual: () => (/* reexport safe */ _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_6__.isEntitlementsDeeplyEqual),
|
|
18360
18561
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__.isHostedOAuthStateExpired),
|
|
18361
|
-
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__.markHostedOAuthStateSaved)
|
|
18562
|
+
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__.markHostedOAuthStateSaved),
|
|
18563
|
+
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _LoginState_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_24__.shouldPromptChooseTenant)
|
|
18362
18564
|
/* harmony export */ });
|
|
18363
18565
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
18364
18566
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
|
|
18365
|
-
/* harmony import */ var
|
|
18366
|
-
/* harmony import */ var
|
|
18367
|
-
/* harmony import */ var
|
|
18368
|
-
/* harmony import */ var
|
|
18369
|
-
/* harmony import */ var
|
|
18370
|
-
/* harmony import */ var
|
|
18371
|
-
/* harmony import */ var
|
|
18372
|
-
/* harmony import */ var
|
|
18373
|
-
/* harmony import */ var
|
|
18374
|
-
/* harmony import */ var
|
|
18375
|
-
/* harmony import */ var
|
|
18376
|
-
/* harmony import */ var
|
|
18377
|
-
/* harmony import */ var
|
|
18378
|
-
/* harmony import */ var
|
|
18379
|
-
/* harmony import */ var
|
|
18380
|
-
/* harmony import */ var
|
|
18567
|
+
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/state.js");
|
|
18568
|
+
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/actions.js");
|
|
18569
|
+
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/state.js");
|
|
18570
|
+
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/actions.js");
|
|
18571
|
+
/* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/state.js");
|
|
18572
|
+
/* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/actions.js");
|
|
18573
|
+
/* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/state.js");
|
|
18574
|
+
/* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/actions.js");
|
|
18575
|
+
/* harmony import */ var _ApprovalFlowState__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./ApprovalFlowState */ "../../dist/@frontegg/redux-store/auth/ApprovalFlowState/state.js");
|
|
18576
|
+
/* harmony import */ var _ApprovalFlowState__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./ApprovalFlowState */ "../../dist/@frontegg/redux-store/auth/ApprovalFlowState/actions.js");
|
|
18577
|
+
/* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/state.js");
|
|
18578
|
+
/* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/actions.js");
|
|
18579
|
+
/* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/state.js");
|
|
18580
|
+
/* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/actions.js");
|
|
18581
|
+
/* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/state.js");
|
|
18582
|
+
/* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/actions.js");
|
|
18381
18583
|
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/consts.js");
|
|
18382
|
-
/* harmony import */ var
|
|
18383
|
-
/* harmony import */ var
|
|
18384
|
-
/* harmony import */ var
|
|
18385
|
-
/* harmony import */ var
|
|
18386
|
-
/* harmony import */ var
|
|
18387
|
-
/* harmony import */ var
|
|
18388
|
-
/* harmony import */ var
|
|
18389
|
-
/* harmony import */ var
|
|
18390
|
-
/* harmony import */ var
|
|
18391
|
-
/* harmony import */ var
|
|
18392
|
-
/* harmony import */ var
|
|
18393
|
-
/* harmony import */ var
|
|
18394
|
-
/* harmony import */ var
|
|
18395
|
-
/* harmony import */ var
|
|
18396
|
-
/* harmony import */ var
|
|
18397
|
-
/* harmony import */ var
|
|
18398
|
-
/* harmony import */ var
|
|
18399
|
-
/* harmony import */ var
|
|
18400
|
-
/* harmony import */ var
|
|
18401
|
-
/* harmony import */ var
|
|
18402
|
-
/* harmony import */ var
|
|
18403
|
-
/* harmony import */ var
|
|
18404
|
-
/* harmony import */ var
|
|
18405
|
-
/* harmony import */ var
|
|
18406
|
-
/* harmony import */ var
|
|
18407
|
-
/* harmony import */ var
|
|
18408
|
-
/* harmony import */ var
|
|
18409
|
-
/* harmony import */ var
|
|
18410
|
-
/* harmony import */ var
|
|
18411
|
-
/* harmony import */ var
|
|
18412
|
-
/* harmony import */ var
|
|
18413
|
-
/* harmony import */ var
|
|
18414
|
-
/* harmony import */ var
|
|
18415
|
-
/* harmony import */ var
|
|
18416
|
-
/* harmony import */ var
|
|
18417
|
-
/* harmony import */ var
|
|
18418
|
-
/* harmony import */ var
|
|
18419
|
-
/* harmony import */ var
|
|
18420
|
-
/* harmony import */ var
|
|
18421
|
-
/* harmony import */ var
|
|
18422
|
-
/* harmony import */ var
|
|
18423
|
-
/* harmony import */ var
|
|
18424
|
-
/* harmony import */ var
|
|
18425
|
-
/* harmony import */ var
|
|
18426
|
-
/* harmony import */ var
|
|
18427
|
-
/* harmony import */ var
|
|
18428
|
-
/* harmony import */ var
|
|
18429
|
-
/* harmony import */ var
|
|
18430
|
-
/* harmony import */ var
|
|
18431
|
-
/* harmony import */ var
|
|
18432
|
-
/* harmony import */ var
|
|
18433
|
-
/* harmony import */ var
|
|
18434
|
-
/* harmony import */ var
|
|
18435
|
-
/* harmony import */ var
|
|
18436
|
-
/* harmony import */ var
|
|
18437
|
-
/* harmony import */ var
|
|
18438
|
-
/* harmony import */ var
|
|
18439
|
-
/* harmony import */ var
|
|
18440
|
-
/* harmony import */ var
|
|
18441
|
-
/* harmony import */ var
|
|
18584
|
+
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/state.js");
|
|
18585
|
+
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/actions.js");
|
|
18586
|
+
/* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/state.js");
|
|
18587
|
+
/* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/actions.js");
|
|
18588
|
+
/* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/state.js");
|
|
18589
|
+
/* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/actions.js");
|
|
18590
|
+
/* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/state.js");
|
|
18591
|
+
/* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/actions.js");
|
|
18592
|
+
/* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/state.js");
|
|
18593
|
+
/* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/actions.js");
|
|
18594
|
+
/* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/state.js");
|
|
18595
|
+
/* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/index.js");
|
|
18596
|
+
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/state.js");
|
|
18597
|
+
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/actions.js");
|
|
18598
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/state.js");
|
|
18599
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/state.js");
|
|
18600
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/actions.js");
|
|
18601
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/actions.js");
|
|
18602
|
+
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/state.js");
|
|
18603
|
+
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/actions.js");
|
|
18604
|
+
/* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/state.js");
|
|
18605
|
+
/* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/actions.js");
|
|
18606
|
+
/* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/state.js");
|
|
18607
|
+
/* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/actions.js");
|
|
18608
|
+
/* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/state.js");
|
|
18609
|
+
/* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/actions.js");
|
|
18610
|
+
/* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/state.js");
|
|
18611
|
+
/* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/actions.js");
|
|
18612
|
+
/* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/state.js");
|
|
18613
|
+
/* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/actions.js");
|
|
18614
|
+
/* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/state.js");
|
|
18615
|
+
/* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/actions.js");
|
|
18616
|
+
/* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/state.js");
|
|
18617
|
+
/* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/actions.js");
|
|
18618
|
+
/* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/state.js");
|
|
18619
|
+
/* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/actions.js");
|
|
18620
|
+
/* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/state.js");
|
|
18621
|
+
/* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/actions.js");
|
|
18622
|
+
/* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/state.js");
|
|
18623
|
+
/* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/actions.js");
|
|
18624
|
+
/* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/state.js");
|
|
18625
|
+
/* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/actions.js");
|
|
18626
|
+
/* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/state.js");
|
|
18627
|
+
/* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/actions.js");
|
|
18628
|
+
/* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/state.js");
|
|
18629
|
+
/* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/actions/index.js");
|
|
18630
|
+
/* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/state.js");
|
|
18631
|
+
/* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/actions/index.js");
|
|
18632
|
+
/* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/state.js");
|
|
18633
|
+
/* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/actions/index.js");
|
|
18634
|
+
/* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/state.js");
|
|
18635
|
+
/* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/actions.js");
|
|
18636
|
+
/* harmony import */ var _UsernamesState__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./UsernamesState */ "../../dist/@frontegg/redux-store/auth/UsernamesState/state.js");
|
|
18637
|
+
/* harmony import */ var _UsernamesState__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./UsernamesState */ "../../dist/@frontegg/redux-store/auth/UsernamesState/actions.js");
|
|
18638
|
+
/* harmony import */ var _UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/state.js");
|
|
18639
|
+
/* harmony import */ var _UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/actions.js");
|
|
18640
|
+
/* harmony import */ var _LoginState_consts__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./LoginState/consts */ "../../dist/@frontegg/redux-store/auth/LoginState/consts.js");
|
|
18641
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
18642
|
+
/* harmony import */ var _Entitlements__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./Entitlements */ "../../dist/@frontegg/redux-store/auth/Entitlements/actions.js");
|
|
18643
|
+
/* harmony import */ var _toolkit_proxy__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../toolkit/proxy */ "../../dist/@frontegg/redux-store/toolkit/proxy.js");
|
|
18442
18644
|
/* harmony import */ var _AcceptInvitationState_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AcceptInvitationState/interfaces */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/interfaces.js");
|
|
18443
18645
|
/* harmony import */ var _ActivateAccountState_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActivateAccountState/interfaces */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/interfaces.js");
|
|
18444
18646
|
/* harmony import */ var _ApprovalFlowState_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ApprovalFlowState/interfaces */ "../../dist/@frontegg/redux-store/auth/ApprovalFlowState/interfaces.js");
|
|
@@ -18460,6 +18662,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18460
18662
|
/* harmony import */ var _UsersEmailsPolicyState_interfaces__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./UsersEmailsPolicyState/interfaces */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/interfaces.js");
|
|
18461
18663
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
18462
18664
|
/* harmony import */ var _LoginState_oauthStorage__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./LoginState/oauthStorage */ "../../dist/@frontegg/redux-store/auth/LoginState/oauthStorage.js");
|
|
18665
|
+
/* harmony import */ var _LoginState_helpers_tenantSelect__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./LoginState/helpers/tenantSelect */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers/tenantSelect.js");
|
|
18463
18666
|
|
|
18464
18667
|
|
|
18465
18668
|
const _excluded = ["routes"],
|
|
@@ -18541,6 +18744,7 @@ const _excluded = ["routes"],
|
|
|
18541
18744
|
|
|
18542
18745
|
|
|
18543
18746
|
|
|
18747
|
+
|
|
18544
18748
|
|
|
18545
18749
|
|
|
18546
18750
|
const createAuthState = _overrideState => {
|
|
@@ -18549,8 +18753,8 @@ const createAuthState = _overrideState => {
|
|
|
18549
18753
|
routes
|
|
18550
18754
|
} = _ref,
|
|
18551
18755
|
overrideState = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, _excluded);
|
|
18552
|
-
return (0,
|
|
18553
|
-
routes: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({},
|
|
18756
|
+
return (0,_toolkit_proxy__WEBPACK_IMPORTED_MODULE_25__.createProxy)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
|
18757
|
+
routes: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _LoginState_consts__WEBPACK_IMPORTED_MODULE_26__.defaultFronteggRoutes, routes),
|
|
18554
18758
|
onRedirectTo: () => void 0,
|
|
18555
18759
|
isAuthenticated: false,
|
|
18556
18760
|
isLoading: true,
|
|
@@ -18564,49 +18768,49 @@ const createAuthState = _overrideState => {
|
|
|
18564
18768
|
}
|
|
18565
18769
|
}, overrideState, {
|
|
18566
18770
|
// nested states
|
|
18567
|
-
acceptInvitationState: (0,
|
|
18568
|
-
accountSettingsState: (0,
|
|
18569
|
-
activateAccountState: (0,
|
|
18570
|
-
unlockAccountState: (0,
|
|
18571
|
-
approvalFlowState: (0,
|
|
18572
|
-
apiTokensState: (0,
|
|
18573
|
-
applicationsState: (0,
|
|
18574
|
-
customLoginState: (0,
|
|
18575
|
-
forgotPasswordState: (0,
|
|
18576
|
-
passwordRotationState: (0,
|
|
18577
|
-
groupsState: (0,
|
|
18578
|
-
groupsDialogsState: (0,
|
|
18579
|
-
impersonateState: (0,
|
|
18580
|
-
loginState: (0,
|
|
18581
|
-
mfaState: (0,
|
|
18582
|
-
allAccountsState: (0,
|
|
18583
|
-
allAccountsDialogsState: (0,
|
|
18584
|
-
passkeysState: (0,
|
|
18585
|
-
profileState: (0,
|
|
18586
|
-
provisioningState: (0,
|
|
18587
|
-
resetPhoneNumberState: (0,
|
|
18588
|
-
rolesState: (0,
|
|
18589
|
-
restrictionsState: (0,
|
|
18590
|
-
securityCenterState: (0,
|
|
18591
|
-
securityPolicyState: (0,
|
|
18592
|
-
sessionsPolicyState: (0,
|
|
18593
|
-
sessionsState: (0,
|
|
18594
|
-
signUpState: (0,
|
|
18595
|
-
smsState: (0,
|
|
18596
|
-
socialLoginState: (0,
|
|
18597
|
-
ssoState: (0,
|
|
18598
|
-
stepUpState: (0,
|
|
18599
|
-
teamState: (0,
|
|
18600
|
-
tenantsState: (0,
|
|
18601
|
-
usernamesState: (0,
|
|
18602
|
-
userEmailPolicyState: (0,
|
|
18771
|
+
acceptInvitationState: (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_27__["default"])(overrideState == null ? void 0 : overrideState.acceptInvitationState),
|
|
18772
|
+
accountSettingsState: (0,_AccountSettingsState__WEBPACK_IMPORTED_MODULE_28__["default"])(overrideState == null ? void 0 : overrideState.accountSettingsState),
|
|
18773
|
+
activateAccountState: (0,_ActivateAccountState__WEBPACK_IMPORTED_MODULE_29__["default"])(overrideState == null ? void 0 : overrideState.activateAccountState),
|
|
18774
|
+
unlockAccountState: (0,_UnlockAccountState__WEBPACK_IMPORTED_MODULE_30__["default"])(overrideState == null ? void 0 : overrideState.unlockAccountState),
|
|
18775
|
+
approvalFlowState: (0,_ApprovalFlowState__WEBPACK_IMPORTED_MODULE_31__["default"])(overrideState == null ? void 0 : overrideState.approvalFlowState),
|
|
18776
|
+
apiTokensState: (0,_ApiTokensState__WEBPACK_IMPORTED_MODULE_32__["default"])(overrideState == null ? void 0 : overrideState.apiTokensState),
|
|
18777
|
+
applicationsState: (0,_ApplicationsState__WEBPACK_IMPORTED_MODULE_33__["default"])(overrideState == null ? void 0 : overrideState.applicationsState),
|
|
18778
|
+
customLoginState: (0,_CustomLoginState__WEBPACK_IMPORTED_MODULE_34__["default"])(overrideState == null ? void 0 : overrideState.customLoginState),
|
|
18779
|
+
forgotPasswordState: (0,_ForgotPasswordState__WEBPACK_IMPORTED_MODULE_35__["default"])(overrideState == null ? void 0 : overrideState.forgotPasswordState),
|
|
18780
|
+
passwordRotationState: (0,_PasswordRotationState__WEBPACK_IMPORTED_MODULE_36__["default"])(overrideState == null ? void 0 : overrideState.passwordRotationState),
|
|
18781
|
+
groupsState: (0,_GroupsState__WEBPACK_IMPORTED_MODULE_37__["default"])(overrideState == null ? void 0 : overrideState.groupsState),
|
|
18782
|
+
groupsDialogsState: (0,_GroupsDialogsState__WEBPACK_IMPORTED_MODULE_38__["default"])(overrideState == null ? void 0 : overrideState.groupsDialogsState),
|
|
18783
|
+
impersonateState: (0,_ImpersonateState__WEBPACK_IMPORTED_MODULE_39__["default"])(overrideState == null ? void 0 : overrideState.impersonateState),
|
|
18784
|
+
loginState: (0,_LoginState__WEBPACK_IMPORTED_MODULE_40__["default"])(overrideState == null ? void 0 : overrideState.loginState),
|
|
18785
|
+
mfaState: (0,_MfaState__WEBPACK_IMPORTED_MODULE_41__["default"])(overrideState == null ? void 0 : overrideState.mfaState),
|
|
18786
|
+
allAccountsState: (0,_MSP__WEBPACK_IMPORTED_MODULE_42__["default"])(overrideState == null ? void 0 : overrideState.allAccountsState),
|
|
18787
|
+
allAccountsDialogsState: (0,_MSP__WEBPACK_IMPORTED_MODULE_43__["default"])(overrideState == null ? void 0 : overrideState.allAccountsDialogsState),
|
|
18788
|
+
passkeysState: (0,_PasskeysState__WEBPACK_IMPORTED_MODULE_44__["default"])(overrideState == null ? void 0 : overrideState.passkeysState),
|
|
18789
|
+
profileState: (0,_ProfileState__WEBPACK_IMPORTED_MODULE_45__["default"])(overrideState == null ? void 0 : overrideState.profileState),
|
|
18790
|
+
provisioningState: (0,_ProvisioningState__WEBPACK_IMPORTED_MODULE_46__["default"])(overrideState == null ? void 0 : overrideState.provisioningState),
|
|
18791
|
+
resetPhoneNumberState: (0,_ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_47__["default"])(overrideState == null ? void 0 : overrideState.resetPhoneNumberState),
|
|
18792
|
+
rolesState: (0,_RolesState__WEBPACK_IMPORTED_MODULE_48__["default"])(overrideState == null ? void 0 : overrideState.rolesState),
|
|
18793
|
+
restrictionsState: (0,_Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_49__["default"])(overrideState == null ? void 0 : overrideState.restrictionsState),
|
|
18794
|
+
securityCenterState: (0,_Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_50__["default"])(overrideState == null ? void 0 : overrideState.securityCenterState),
|
|
18795
|
+
securityPolicyState: (0,_Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_51__["default"])(overrideState == null ? void 0 : overrideState.securityPolicyState),
|
|
18796
|
+
sessionsPolicyState: (0,_Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_52__["default"])(overrideState == null ? void 0 : overrideState.sessionsPolicyState),
|
|
18797
|
+
sessionsState: (0,_SessionsState__WEBPACK_IMPORTED_MODULE_53__["default"])(overrideState == null ? void 0 : overrideState.sessionsState),
|
|
18798
|
+
signUpState: (0,_SignUpState__WEBPACK_IMPORTED_MODULE_54__["default"])(overrideState == null ? void 0 : overrideState.signUpState),
|
|
18799
|
+
smsState: (0,_SmsState__WEBPACK_IMPORTED_MODULE_55__["default"])(overrideState == null ? void 0 : overrideState.smsState),
|
|
18800
|
+
socialLoginState: (0,_SocialLoginState__WEBPACK_IMPORTED_MODULE_56__["default"])(overrideState == null ? void 0 : overrideState.socialLoginState),
|
|
18801
|
+
ssoState: (0,_SSOState__WEBPACK_IMPORTED_MODULE_57__["default"])(overrideState == null ? void 0 : overrideState.ssoState),
|
|
18802
|
+
stepUpState: (0,_StepUpState__WEBPACK_IMPORTED_MODULE_58__["default"])(overrideState == null ? void 0 : overrideState.stepUpState),
|
|
18803
|
+
teamState: (0,_TeamState__WEBPACK_IMPORTED_MODULE_59__["default"])(overrideState == null ? void 0 : overrideState.teamState),
|
|
18804
|
+
tenantsState: (0,_TenantsState__WEBPACK_IMPORTED_MODULE_60__["default"])(overrideState == null ? void 0 : overrideState.tenantsState),
|
|
18805
|
+
usernamesState: (0,_UsernamesState__WEBPACK_IMPORTED_MODULE_61__["default"])(overrideState == null ? void 0 : overrideState.usernamesState),
|
|
18806
|
+
userEmailPolicyState: (0,_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_62__["default"])(overrideState == null ? void 0 : overrideState.userEmailPolicyState)
|
|
18603
18807
|
}));
|
|
18604
18808
|
};
|
|
18605
18809
|
const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
18606
18810
|
const setAuthState = state => {
|
|
18607
18811
|
Object.keys(state).forEach(key => {
|
|
18608
18812
|
const authKey = key;
|
|
18609
|
-
if ((0,
|
|
18813
|
+
if ((0,_helpers__WEBPACK_IMPORTED_MODULE_63__.isProxy)(store.auth[authKey])) {
|
|
18610
18814
|
Object.assign(store.auth[authKey], state[authKey]);
|
|
18611
18815
|
} else {
|
|
18612
18816
|
store.auth[authKey] = state[authKey];
|
|
@@ -18614,7 +18818,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
18614
18818
|
});
|
|
18615
18819
|
};
|
|
18616
18820
|
const resetAuthState = (state = {}) => {
|
|
18617
|
-
(0,
|
|
18821
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_63__.deepResetState)(store, ['auth'], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, snapshotAuthState, state));
|
|
18618
18822
|
};
|
|
18619
18823
|
const setUser = user => {
|
|
18620
18824
|
setAuthState({
|
|
@@ -18632,43 +18836,43 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
18632
18836
|
})
|
|
18633
18837
|
});
|
|
18634
18838
|
};
|
|
18635
|
-
const acceptInvitationActions = (0,
|
|
18636
|
-
const accountSettingsActions = (0,
|
|
18637
|
-
const activateAccountActions = (0,
|
|
18638
|
-
const unlockAccountActions = (0,
|
|
18639
|
-
const approvalFlowActions = (0,
|
|
18640
|
-
const apiTokensActions = (0,
|
|
18641
|
-
const applicationsActions = (0,
|
|
18642
|
-
const customLoginActions = (0,
|
|
18643
|
-
const entitlementsActions = (0,
|
|
18644
|
-
const forgotPasswordActions = (0,
|
|
18645
|
-
const passwordRotationActions = (0,
|
|
18646
|
-
const groupsActions = (0,
|
|
18647
|
-
const groupsDialogsActions = (0,
|
|
18648
|
-
const impersonateActions = (0,
|
|
18649
|
-
const loginActions = (0,
|
|
18650
|
-
const mfaActions = (0,
|
|
18651
|
-
const allAccountsActions = (0,
|
|
18652
|
-
const allAccountsDialogActions = (0,
|
|
18653
|
-
const passkeysActions = (0,
|
|
18654
|
-
const profileActions = (0,
|
|
18655
|
-
const provisioningActions = (0,
|
|
18656
|
-
const resetPhoneNumberActions = (0,
|
|
18657
|
-
const rolesActions = (0,
|
|
18658
|
-
const restrictionsActions = (0,
|
|
18659
|
-
const securityCenterActions = (0,
|
|
18660
|
-
const securityPolicyActions = (0,
|
|
18661
|
-
const sessionsPolicyActions = (0,
|
|
18662
|
-
const sessionsActions = (0,
|
|
18663
|
-
const signUpActions = (0,
|
|
18664
|
-
const smsActions = (0,
|
|
18665
|
-
const socialLoginActions = (0,
|
|
18666
|
-
const ssoActions = (0,
|
|
18667
|
-
const stepUpActions = (0,
|
|
18668
|
-
const teamActions = (0,
|
|
18669
|
-
const tenantsActions = (0,
|
|
18670
|
-
const usernamesActions = (0,
|
|
18671
|
-
const usersEmailsPolicyActions = (0,
|
|
18839
|
+
const acceptInvitationActions = (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_64__["default"])(store, api, actions);
|
|
18840
|
+
const accountSettingsActions = (0,_AccountSettingsState__WEBPACK_IMPORTED_MODULE_65__["default"])(store, api, actions);
|
|
18841
|
+
const activateAccountActions = (0,_ActivateAccountState__WEBPACK_IMPORTED_MODULE_66__["default"])(store, api, actions);
|
|
18842
|
+
const unlockAccountActions = (0,_UnlockAccountState__WEBPACK_IMPORTED_MODULE_67__["default"])(store, api, actions);
|
|
18843
|
+
const approvalFlowActions = (0,_ApprovalFlowState__WEBPACK_IMPORTED_MODULE_68__["default"])(store, api, actions);
|
|
18844
|
+
const apiTokensActions = (0,_ApiTokensState__WEBPACK_IMPORTED_MODULE_69__["default"])(store, api, actions);
|
|
18845
|
+
const applicationsActions = (0,_ApplicationsState__WEBPACK_IMPORTED_MODULE_70__["default"])(store, api, actions);
|
|
18846
|
+
const customLoginActions = (0,_CustomLoginState__WEBPACK_IMPORTED_MODULE_71__["default"])(store, api, actions);
|
|
18847
|
+
const entitlementsActions = (0,_Entitlements__WEBPACK_IMPORTED_MODULE_72__["default"])(store, api, actions);
|
|
18848
|
+
const forgotPasswordActions = (0,_ForgotPasswordState__WEBPACK_IMPORTED_MODULE_73__["default"])(store, api, actions);
|
|
18849
|
+
const passwordRotationActions = (0,_PasswordRotationState__WEBPACK_IMPORTED_MODULE_74__["default"])(store, api, actions);
|
|
18850
|
+
const groupsActions = (0,_GroupsState__WEBPACK_IMPORTED_MODULE_75__["default"])(store, api, actions);
|
|
18851
|
+
const groupsDialogsActions = (0,_GroupsDialogsState__WEBPACK_IMPORTED_MODULE_76__["default"])(store, api, actions);
|
|
18852
|
+
const impersonateActions = (0,_ImpersonateState__WEBPACK_IMPORTED_MODULE_77__["default"])(store, api, actions);
|
|
18853
|
+
const loginActions = (0,_LoginState__WEBPACK_IMPORTED_MODULE_78__["default"])(store, api, actions);
|
|
18854
|
+
const mfaActions = (0,_MfaState__WEBPACK_IMPORTED_MODULE_79__["default"])(store, api, actions);
|
|
18855
|
+
const allAccountsActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_80__["default"])(store, api, actions);
|
|
18856
|
+
const allAccountsDialogActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_81__["default"])(store, api, actions);
|
|
18857
|
+
const passkeysActions = (0,_PasskeysState__WEBPACK_IMPORTED_MODULE_82__["default"])(store, api, actions);
|
|
18858
|
+
const profileActions = (0,_ProfileState__WEBPACK_IMPORTED_MODULE_83__["default"])(store, api, actions);
|
|
18859
|
+
const provisioningActions = (0,_ProvisioningState__WEBPACK_IMPORTED_MODULE_84__["default"])(store, api, actions);
|
|
18860
|
+
const resetPhoneNumberActions = (0,_ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_85__["default"])(store, api, actions);
|
|
18861
|
+
const rolesActions = (0,_RolesState__WEBPACK_IMPORTED_MODULE_86__["default"])(store, api, actions);
|
|
18862
|
+
const restrictionsActions = (0,_Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_87__["default"])(store, api, actions);
|
|
18863
|
+
const securityCenterActions = (0,_Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_88__["default"])(store, api, actions);
|
|
18864
|
+
const securityPolicyActions = (0,_Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_89__["default"])(store, api, actions);
|
|
18865
|
+
const sessionsPolicyActions = (0,_Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_90__["default"])(store, api, actions);
|
|
18866
|
+
const sessionsActions = (0,_SessionsState__WEBPACK_IMPORTED_MODULE_91__["default"])(store, api, actions);
|
|
18867
|
+
const signUpActions = (0,_SignUpState__WEBPACK_IMPORTED_MODULE_92__["default"])(store, api, actions);
|
|
18868
|
+
const smsActions = (0,_SmsState__WEBPACK_IMPORTED_MODULE_93__["default"])(store, api, actions);
|
|
18869
|
+
const socialLoginActions = (0,_SocialLoginState__WEBPACK_IMPORTED_MODULE_94__["default"])(store, api, actions);
|
|
18870
|
+
const ssoActions = (0,_SSOState__WEBPACK_IMPORTED_MODULE_95__["default"])(store, api, actions);
|
|
18871
|
+
const stepUpActions = (0,_StepUpState__WEBPACK_IMPORTED_MODULE_96__["default"])(store, api, actions);
|
|
18872
|
+
const teamActions = (0,_TeamState__WEBPACK_IMPORTED_MODULE_97__["default"])(store, api, actions);
|
|
18873
|
+
const tenantsActions = (0,_TenantsState__WEBPACK_IMPORTED_MODULE_98__["default"])(store, api, actions);
|
|
18874
|
+
const usernamesActions = (0,_UsernamesState__WEBPACK_IMPORTED_MODULE_99__["default"])(store, api, actions);
|
|
18875
|
+
const usersEmailsPolicyActions = (0,_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_100__["default"])(store, api, actions);
|
|
18672
18876
|
const stateActions = {
|
|
18673
18877
|
acceptInvitationActions,
|
|
18674
18878
|
accountSettingsActions,
|
|
@@ -19669,6 +19873,8 @@ const publicKeyCredentialToJSON = pubKeyCred => {
|
|
|
19669
19873
|
arr.push(publicKeyCredentialToJSON(i));
|
|
19670
19874
|
}
|
|
19671
19875
|
return arr;
|
|
19876
|
+
} else if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView(pubKeyCred)) {
|
|
19877
|
+
return (0,_encoders__WEBPACK_IMPORTED_MODULE_0__.base64urlEncode)(pubKeyCred);
|
|
19672
19878
|
} else if (pubKeyCred instanceof ArrayBuffer) {
|
|
19673
19879
|
return (0,_encoders__WEBPACK_IMPORTED_MODULE_0__.base64urlEncode)(pubKeyCred);
|
|
19674
19880
|
} else if (pubKeyCred instanceof Object) {
|
|
@@ -20537,6 +20743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20537
20743
|
/* harmony export */ getRedirectUrl: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getRedirectUrl),
|
|
20538
20744
|
/* harmony export */ getSearchParam: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getSearchParam),
|
|
20539
20745
|
/* harmony export */ getSearchParamsFromUrl: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getSearchParamsFromUrl),
|
|
20746
|
+
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.getSwitchableTenants),
|
|
20540
20747
|
/* harmony export */ getUri: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getUri),
|
|
20541
20748
|
/* harmony export */ getUrlDerivedStepUp: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.getUrlDerivedStepUp),
|
|
20542
20749
|
/* harmony export */ hmac: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.hmac),
|
|
@@ -20567,6 +20774,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20567
20774
|
/* harmony export */ retryIfNeeded: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.retryIfNeeded),
|
|
20568
20775
|
/* harmony export */ setAfterAuthRedirectUrlForStepUp: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.setAfterAuthRedirectUrlForStepUp),
|
|
20569
20776
|
/* harmony export */ sha256: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.sha256),
|
|
20777
|
+
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.shouldPromptChooseTenant),
|
|
20570
20778
|
/* harmony export */ shouldRetryRefreshTokenError: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.shouldRetryRefreshTokenError),
|
|
20571
20779
|
/* harmony export */ shouldShowPasswordRotationPromptFunc: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.shouldShowPasswordRotationPromptFunc),
|
|
20572
20780
|
/* harmony export */ snapshot: () => (/* reexport safe */ _toolkit__WEBPACK_IMPORTED_MODULE_0__.snapshot),
|
|
@@ -20582,7 +20790,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20582
20790
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
20583
20791
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
20584
20792
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
20585
|
-
/** @license Frontegg v7.
|
|
20793
|
+
/** @license Frontegg v7.120.0
|
|
20586
20794
|
*
|
|
20587
20795
|
* This source code is licensed under the MIT license found in the
|
|
20588
20796
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -27300,10 +27508,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27300
27508
|
/* harmony export */ getEntitlements: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getEntitlements),
|
|
27301
27509
|
/* harmony export */ getFeatureEntitlements: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getFeatureEntitlements),
|
|
27302
27510
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getPermissionEntitlements),
|
|
27511
|
+
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.getSwitchableTenants),
|
|
27303
27512
|
/* harmony export */ isEntitlementsDeeplyEqual: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.isEntitlementsDeeplyEqual),
|
|
27304
27513
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.isHostedOAuthStateExpired),
|
|
27305
27514
|
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.markHostedOAuthStateSaved),
|
|
27306
27515
|
/* harmony export */ ref: () => (/* reexport safe */ _valtio__WEBPACK_IMPORTED_MODULE_2__.ref),
|
|
27516
|
+
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_1__.shouldPromptChooseTenant),
|
|
27307
27517
|
/* harmony export */ snapshot: () => (/* reexport safe */ _valtio__WEBPACK_IMPORTED_MODULE_2__.snapshot),
|
|
27308
27518
|
/* harmony export */ subscribe: () => (/* reexport safe */ _valtio__WEBPACK_IMPORTED_MODULE_2__.subscribe)
|
|
27309
27519
|
/* harmony export */ });
|
|
@@ -27408,9 +27618,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27408
27618
|
/* harmony export */ getEntitlements: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getEntitlements),
|
|
27409
27619
|
/* harmony export */ getFeatureEntitlements: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getFeatureEntitlements),
|
|
27410
27620
|
/* harmony export */ getPermissionEntitlements: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getPermissionEntitlements),
|
|
27621
|
+
/* harmony export */ getSwitchableTenants: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.getSwitchableTenants),
|
|
27411
27622
|
/* harmony export */ isEntitlementsDeeplyEqual: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.isEntitlementsDeeplyEqual),
|
|
27412
27623
|
/* harmony export */ isHostedOAuthStateExpired: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.isHostedOAuthStateExpired),
|
|
27413
|
-
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.markHostedOAuthStateSaved)
|
|
27624
|
+
/* harmony export */ markHostedOAuthStateSaved: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.markHostedOAuthStateSaved),
|
|
27625
|
+
/* harmony export */ shouldPromptChooseTenant: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_2__.shouldPromptChooseTenant)
|
|
27414
27626
|
/* harmony export */ });
|
|
27415
27627
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
27416
27628
|
/* harmony import */ var _valtio__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../valtio */ "../../dist/@frontegg/redux-store/valtio/utils/devtools.js");
|
|
@@ -29978,6 +30190,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29978
30190
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29979
30191
|
/* harmony export */ LOAD_AUTHORIZATION_FF: () => (/* binding */ LOAD_AUTHORIZATION_FF),
|
|
29980
30192
|
/* harmony export */ MFAStrategyEnum: () => (/* binding */ MFAStrategyEnum),
|
|
30193
|
+
/* harmony export */ PreLoginAddressType: () => (/* binding */ PreLoginAddressType),
|
|
29981
30194
|
/* harmony export */ RestrictionType: () => (/* reexport safe */ _secutiry_poilicy_interfaces__WEBPACK_IMPORTED_MODULE_1__.RestrictionType),
|
|
29982
30195
|
/* harmony export */ SecondaryAuthStrategy: () => (/* binding */ SecondaryAuthStrategy),
|
|
29983
30196
|
/* harmony export */ WebAuthnDeviceType: () => (/* binding */ WebAuthnDeviceType)
|
|
@@ -29987,6 +30200,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29987
30200
|
_enums__WEBPACK_IMPORTED_MODULE_0__.EIdentifierType;
|
|
29988
30201
|
|
|
29989
30202
|
|
|
30203
|
+
const PreLoginAddressType = {
|
|
30204
|
+
Sso: 'sso',
|
|
30205
|
+
External: 'external'
|
|
30206
|
+
};
|
|
29990
30207
|
// SmsCode is for speedy login, SmsCodeV2 is for login with SMS
|
|
29991
30208
|
let SecondaryAuthStrategy;
|
|
29992
30209
|
(function (SecondaryAuthStrategy) {
|
|
@@ -31156,6 +31373,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31156
31373
|
/* harmony export */ PasswordRecoveryStrategyEnum: () => (/* reexport safe */ _auth_enums__WEBPACK_IMPORTED_MODULE_2__.PasswordRecoveryStrategyEnum),
|
|
31157
31374
|
/* harmony export */ PaymentMethodType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_47__.PaymentMethodType),
|
|
31158
31375
|
/* harmony export */ PermissionAssignmentTypeEnum: () => (/* reexport safe */ _roles_interfaces__WEBPACK_IMPORTED_MODULE_7__.PermissionAssignmentTypeEnum),
|
|
31376
|
+
/* harmony export */ PreLoginAddressType: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.PreLoginAddressType),
|
|
31159
31377
|
/* harmony export */ ProviderType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_47__.ProviderType),
|
|
31160
31378
|
/* harmony export */ RecommendationActionKey: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationActionKey),
|
|
31161
31379
|
/* harmony export */ RecommendationCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationCode),
|
|
@@ -31239,7 +31457,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31239
31457
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
|
|
31240
31458
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
|
|
31241
31459
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
|
|
31242
|
-
/** @license Frontegg v7.
|
|
31460
|
+
/** @license Frontegg v7.120.0
|
|
31243
31461
|
*
|
|
31244
31462
|
* This source code is licensed under the MIT license found in the
|
|
31245
31463
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -34036,7 +34254,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
34036
34254
|
/* harmony export */ });
|
|
34037
34255
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
34038
34256
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
34039
|
-
/** @license Frontegg v7.
|
|
34257
|
+
/** @license Frontegg v7.120.0
|
|
34040
34258
|
*
|
|
34041
34259
|
* This source code is licensed under the MIT license found in the
|
|
34042
34260
|
* LICENSE file in the root directory of this source tree.
|