@frontegg/redux-store 6.31.0-alpha.9 → 6.32.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/auth/LoginState/saga.js +3 -0
- package/index.js +1 -1
- package/node/auth/LoginState/saga.js +3 -0
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/LoginState/saga.js
CHANGED
|
@@ -414,6 +414,9 @@ function* requestHostedLoginSilentAuthorize() {
|
|
|
414
414
|
isAuthenticated: true
|
|
415
415
|
}));
|
|
416
416
|
yield put(actions.loadTenants());
|
|
417
|
+
yield put(actions.setState({
|
|
418
|
+
isLoading: false
|
|
419
|
+
}));
|
|
417
420
|
} else {
|
|
418
421
|
throw new Error(`couldn't refresh user token with oauth service`);
|
|
419
422
|
}
|
package/index.js
CHANGED
|
@@ -469,6 +469,9 @@ function* requestHostedLoginSilentAuthorize() {
|
|
|
469
469
|
isAuthenticated: true
|
|
470
470
|
}));
|
|
471
471
|
yield (0, _effects.put)(_reducer.actions.loadTenants());
|
|
472
|
+
yield (0, _effects.put)(_reducer.actions.setState({
|
|
473
|
+
isLoading: false
|
|
474
|
+
}));
|
|
472
475
|
} else {
|
|
473
476
|
throw new Error(`couldn't refresh user token with oauth service`);
|
|
474
477
|
}
|
package/node/index.js
CHANGED