@geogirafe/lib-geoportal 1.2.0-dev.2829525740 → 1.2.0-dev.2829697690

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "GeoGirafe PSC",
6
6
  "url": "https://doc.geogirafe.org"
7
7
  },
8
- "version": "1.2.0-dev.2829525740",
8
+ "version": "1.2.0-dev.2829697690",
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=20.19.0"
@@ -1 +1 @@
1
- {"version":"1.2.0-dev.2829525740", "build":"2829525740", "date":"08/09/2026"}
1
+ {"version":"1.2.0-dev.2829697690", "build":"2829697690", "date":"08/09/2026"}
@@ -51,6 +51,9 @@ export default class AbstractConnectManager {
51
51
  return url.toString();
52
52
  }
53
53
  getLogoutRedirectUrl() {
54
+ if (this.context.configManager.Config.oauth?.issuer.customLogoutRedirectUrl) {
55
+ return this.context.configManager.Config.oauth?.issuer.customLogoutRedirectUrl;
56
+ }
54
57
  const url = new URL(this.context.urlManager.getBaseUrlPath());
55
58
  url.searchParams.append('authentified', 'false');
56
59
  url.hash = this.context.urlManager.getHash() ?? '';
@@ -225,6 +225,7 @@ declare class GirafeConfig {
225
225
  customLoginParams: {
226
226
  [key: string]: string;
227
227
  };
228
+ customLogoutRedirectUrl?: string;
228
229
  };
229
230
  geomapfish: {
230
231
  userInfoUrl: string;
@@ -423,7 +423,8 @@ class GirafeConfig {
423
423
  audienceExcludedPaths: config.oauth.issuer.audienceExcludedPaths ?? [],
424
424
  alwaysSendCookies: config.oauth.issuer.alwaysSendCookies ?? false,
425
425
  customSilentLoginParams: config.oauth.issuer.customSilentLoginParams ?? {},
426
- customLoginParams: config.oauth.issuer.customLoginParams ?? {}
426
+ customLoginParams: config.oauth.issuer.customLoginParams ?? {},
427
+ customLogoutRedirectUrl: config.oauth.issuer.customLogoutRedirectUrl
427
428
  };
428
429
  const geomapfishConfig = {
429
430
  userInfoUrl: config.oauth.geomapfish.userInfoUrl,