@frontegg/redux-store 6.200.0 → 6.201.0-alpha.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 +2 -1
- package/index.js +1 -1
- package/node/auth/LoginState/saga.js +2 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
package/auth/LoginState/saga.js
CHANGED
|
@@ -518,6 +518,7 @@ function* refreshOrRequestHostedLoginAuthorizeV2({
|
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
export function* requestHostedLoginAuthorize(additionalParams) {
|
|
521
|
+
var _ContextHolder$getBas;
|
|
521
522
|
const {
|
|
522
523
|
routes,
|
|
523
524
|
context,
|
|
@@ -544,7 +545,7 @@ export function* requestHostedLoginAuthorize(additionalParams) {
|
|
|
544
545
|
|
|
545
546
|
// We are saving the verifier in session storage to be able to validate the response
|
|
546
547
|
localStorage.setItem(HOSTED_LOGIN_VERIFIER_KEY, code_verifier);
|
|
547
|
-
let redirectUrl = `${window.location.origin}${urlStrategy === 'path' ? '' : '#'}${routes.hostedLoginRedirectUrl}`;
|
|
548
|
+
let redirectUrl = `${window.location.origin}${urlStrategy === 'path' ? '' : '#'}${(_ContextHolder$getBas = ContextHolder.getBasename()) != null ? _ContextHolder$getBas : ''}${routes.hostedLoginRedirectUrl}`;
|
|
548
549
|
yield call(loadCustomLoginRoutes);
|
|
549
550
|
const customLoginSearchParam = yield select(state => {
|
|
550
551
|
var _state$auth$customLog;
|
package/index.js
CHANGED
|
@@ -544,6 +544,7 @@ function* refreshOrRequestHostedLoginAuthorizeV2({
|
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
function* requestHostedLoginAuthorize(additionalParams) {
|
|
547
|
+
var _ContextHolder$getBas;
|
|
547
548
|
const {
|
|
548
549
|
routes,
|
|
549
550
|
context,
|
|
@@ -570,7 +571,7 @@ function* requestHostedLoginAuthorize(additionalParams) {
|
|
|
570
571
|
|
|
571
572
|
// We are saving the verifier in session storage to be able to validate the response
|
|
572
573
|
localStorage.setItem(_constants.HOSTED_LOGIN_VERIFIER_KEY, code_verifier);
|
|
573
|
-
let redirectUrl = `${window.location.origin}${urlStrategy === 'path' ? '' : '#'}${routes.hostedLoginRedirectUrl}`;
|
|
574
|
+
let redirectUrl = `${window.location.origin}${urlStrategy === 'path' ? '' : '#'}${(_ContextHolder$getBas = _restApi.ContextHolder.getBasename()) != null ? _ContextHolder$getBas : ''}${routes.hostedLoginRedirectUrl}`;
|
|
574
575
|
yield (0, _effects.call)(_saga4.loadCustomLoginRoutes);
|
|
575
576
|
const customLoginSearchParam = yield (0, _effects.select)(state => {
|
|
576
577
|
var _state$auth$customLog;
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/redux-store",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.201.0-alpha.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frontegg LTD",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
9
|
"@frontegg/entitlements-javascript-commons": "1.1.2",
|
|
10
|
-
"@frontegg/rest-api": "3.1.
|
|
10
|
+
"@frontegg/rest-api": "3.1.76-alpha.9762981322",
|
|
11
11
|
"@reduxjs/toolkit": "1.8.5",
|
|
12
12
|
"fast-deep-equal": "3.1.3",
|
|
13
13
|
"redux-saga": "^1.2.1",
|