@opengeoweb/authentication 9.29.0 → 9.29.1
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.esm.js +2 -5
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useRef } from 'react';
|
|
4
4
|
import axios from 'axios';
|
|
5
|
-
import { Navigate,
|
|
5
|
+
import { Navigate, Link } from 'react-router-dom';
|
|
6
6
|
import { useIsMounted, SHARED_NAMESPACE, AlertBanner, useDebounce } from '@opengeoweb/shared';
|
|
7
7
|
import { ThemeWrapper } from '@opengeoweb/theme';
|
|
8
8
|
import { useTranslation, Trans } from 'react-i18next';
|
|
@@ -7393,12 +7393,9 @@ const OAuth2Login = () => {
|
|
|
7393
7393
|
const {
|
|
7394
7394
|
authConfig
|
|
7395
7395
|
} = useAuthenticationContext();
|
|
7396
|
-
const {
|
|
7397
|
-
state
|
|
7398
|
-
} = useLocation();
|
|
7399
7396
|
const sessionStorageProvider = getSessionStorageProvider();
|
|
7400
7397
|
React__default.useEffect(() => {
|
|
7401
|
-
const callbackUrl = getCurrentUrlLocation(
|
|
7398
|
+
const callbackUrl = getCurrentUrlLocation(sessionStorageProvider.getCallbackUrl(), authConfig.GW_APP_URL);
|
|
7402
7399
|
sessionStorageProvider.setCallbackUrl(callbackUrl);
|
|
7403
7400
|
window.location.assign(authConfig.GW_AUTH_LOGIN_URL);
|
|
7404
7401
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/authentication",
|
|
3
|
-
"version": "9.29.
|
|
3
|
+
"version": "9.29.1",
|
|
4
4
|
"description": "GeoWeb authentication library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@opengeoweb/theme": "*",
|
|
15
15
|
"i18next": "^23.11.5",
|
|
16
16
|
"react-i18next": "^14.1.2",
|
|
17
|
-
"@opengeoweb/snackbar": "9.29.
|
|
17
|
+
"@opengeoweb/snackbar": "9.29.1",
|
|
18
18
|
"react-redux": "^8.1.3",
|
|
19
19
|
"@reduxjs/toolkit": "^1.9.7",
|
|
20
20
|
"@mui/material": "^6.1.1"
|