@opengeoweb/authentication 9.8.0 → 9.9.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.esm.js
CHANGED
|
@@ -4709,7 +4709,7 @@ const authConfigKeys = {
|
|
|
4709
4709
|
GW_AUTH_LOGOUT_URL: null,
|
|
4710
4710
|
GW_AUTH_TOKEN_URL: null,
|
|
4711
4711
|
GW_APP_URL: null,
|
|
4712
|
-
|
|
4712
|
+
GW_BE_VERSION_BASE_URL: null,
|
|
4713
4713
|
GW_AUTH_CLIENT_ID: null
|
|
4714
4714
|
};
|
|
4715
4715
|
const getRandomString = () => {
|
|
@@ -4733,7 +4733,7 @@ const getAuthConfig = _configUrls => {
|
|
|
4733
4733
|
GW_AUTH_LOGOUT_URL,
|
|
4734
4734
|
GW_AUTH_TOKEN_URL,
|
|
4735
4735
|
GW_APP_URL,
|
|
4736
|
-
|
|
4736
|
+
GW_BE_VERSION_BASE_URL,
|
|
4737
4737
|
GW_AUTH_CLIENT_ID
|
|
4738
4738
|
} = _configUrls;
|
|
4739
4739
|
const sessionStorageProvider = getSessionStorageProvider();
|
|
@@ -4744,8 +4744,8 @@ const getAuthConfig = _configUrls => {
|
|
|
4744
4744
|
GW_AUTH_LOGOUT_URL: logOutUrl,
|
|
4745
4745
|
GW_AUTH_TOKEN_URL,
|
|
4746
4746
|
GW_APP_URL,
|
|
4747
|
-
|
|
4748
|
-
|
|
4747
|
+
GW_BE_VERSION_BASE_URL,
|
|
4748
|
+
GW_AUTH_CLIENT_ID
|
|
4749
4749
|
};
|
|
4750
4750
|
};
|
|
4751
4751
|
const AuthenticationContext = /*#__PURE__*/React.createContext({
|
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@ export interface AuthenticationConfig {
|
|
|
4
4
|
GW_AUTH_LOGOUT_URL: string;
|
|
5
5
|
GW_AUTH_TOKEN_URL: string;
|
|
6
6
|
GW_APP_URL: string;
|
|
7
|
+
GW_BE_VERSION_BASE_URL?: string;
|
|
7
8
|
GW_AUTH_CLIENT_ID: string;
|
|
8
|
-
GW_INFRA_BASE_URL?: string;
|
|
9
9
|
}
|
|
10
10
|
export interface SessionStorageProvider {
|
|
11
11
|
setOauthState: (value: string) => void;
|