@genesislcap/blank-app-seed 5.23.1 → 5.23.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "5.23.1",
4
+ "version": "5.23.2",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,5 +1,5 @@
1
1
  {
2
- "UI": "15.18.0",
2
+ "UI": "15.19.4",
3
3
  "GSF": "8.15.14",
4
4
  "Auth": "8.15.3"
5
5
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.23.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.23.1...v5.23.2) (2026-08-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * drop the post-login watcher superseded by the foundation-auth fallback fix [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2c142f0
9
+ * give the auth hostPath a leading slash when no base path is set [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 450a2fe
10
+ * give the auth hostPath a leading slash when no base path is set [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#619) 1b4fd2c
11
+ * re-assert the post-login destination while the auth router tears down [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2c175e7
12
+
3
13
  ## [5.23.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.23.0...v5.23.1) (2026-08-25)
4
14
 
5
15
 
@@ -16,6 +16,12 @@ export const configureFoundationAuth = ({
16
16
  }) => {
17
17
  const baseElement = document.querySelector('base');
18
18
  const basePath = baseElement?.getAttribute('href') || '';
19
+ // The base href is '' outside a container deployment, and a bare '' + 'login' is a
20
+ // RELATIVE host path — the auth flow's navigations then compound onto whatever path the
21
+ // app is on (e.g. '/login/not-found'), and a reload booted at that URL falls through to
22
+ // the router's not-found page. Join with a normalised leading slash so the host path is
23
+ // absolute with and without a base.
24
+ const hostPath = `${basePath}/${AUTH_PATH}`.replace(/\/{2,}/g, '/');
19
25
 
20
26
  configure({
21
27
  name: 'client-app-login',
@@ -26,7 +32,7 @@ export const configureFoundationAuth = ({
26
32
  ...defaultAuthConfig.fields.username,
27
33
  },
28
34
  },
29
- hostPath: basePath + AUTH_PATH,
35
+ hostPath,
30
36
  postLoginRedirect: async () => {
31
37
  const url = API_HOST;
32
38
  await connectService.connect(url);
@@ -21,6 +21,12 @@ export const configureFoundationLogin = ({
21
21
  const baseElement = document.querySelector('base');
22
22
  const basePath = baseElement?.getAttribute('href') || '';
23
23
  const connect = DI.getOrCreateDOMContainer().get(Connect);
24
+ // The base href is '' outside a container deployment, and a bare '' + 'login' is a
25
+ // RELATIVE host path — the auth flow's navigations then compound onto whatever path the
26
+ // app is on (e.g. '/login/not-found'), and a reload booted at that URL falls through to
27
+ // the router's not-found page. Join with a normalised leading slash so the host path is
28
+ // absolute with and without a base.
29
+ const hostPath = `${basePath}/${AUTH_PATH}`.replace(/\/{2,}/g, '/');
24
30
 
25
31
  configure({
26
32
  name: 'client-app-login',
@@ -31,7 +37,7 @@ export const configureFoundationLogin = ({
31
37
  ...defaultAuthConfig.fields.username,
32
38
  },
33
39
  },
34
- hostPath: basePath + AUTH_PATH,
40
+ hostPath,
35
41
  postLoginRedirect: async () => {
36
42
  await connect.connect();
37
43
  // Preserve the full original location (query string + hash) so deep-link
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "5.23.1",
4
+ "version": "5.23.2",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"