@mesh-tech/mesh-cli 0.12.3 → 0.12.5
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/dist/bin/mesh.js +11 -2
- package/dist/bin/mesh.js.map +2 -2
- package/dist/build-info.json +2 -2
- package/dist/src/commands/local/seed-zitadel.d.ts.map +1 -1
- package/dist/src/commands/local/seed-zitadel.js +14 -1
- package/dist/src/commands/local/seed-zitadel.js.map +1 -1
- package/package.json +2 -2
package/dist/bin/mesh.js
CHANGED
|
@@ -3609,7 +3609,9 @@ async function reconcileHubRedirectUris(pat, projectId, app) {
|
|
|
3609
3609
|
.../* @__PURE__ */ new Set([
|
|
3610
3610
|
...cfg.postLogoutRedirectUris ?? [],
|
|
3611
3611
|
`http://localhost:${hubPort()}`,
|
|
3612
|
-
`http://localhost:${
|
|
3612
|
+
`http://localhost:${hubPort()}/`,
|
|
3613
|
+
`http://localhost:${DEFAULT_HUB_PORT}`,
|
|
3614
|
+
`http://localhost:${DEFAULT_HUB_PORT}/`
|
|
3613
3615
|
])
|
|
3614
3616
|
];
|
|
3615
3617
|
if (redirectUris.length === (cfg.redirectUris ?? []).length && postLogoutRedirectUris.length === (cfg.postLogoutRedirectUris ?? []).length) {
|
|
@@ -3650,7 +3652,14 @@ async function ensureHubApp(pat, projectId) {
|
|
|
3650
3652
|
name: HUB_APP_NAME,
|
|
3651
3653
|
redirectUris: [.../* @__PURE__ */ new Set([hubRedirectUri(), HUB_DEFAULT_REDIRECT_URI])],
|
|
3652
3654
|
postLogoutRedirectUris: [
|
|
3653
|
-
|
|
3655
|
+
// Both slash forms — see reconcileHubRedirectUris; Zitadel exact-matches
|
|
3656
|
+
// and the Hub's /logout sends the trailing-slash form.
|
|
3657
|
+
.../* @__PURE__ */ new Set([
|
|
3658
|
+
`http://localhost:${hubPort()}`,
|
|
3659
|
+
`http://localhost:${hubPort()}/`,
|
|
3660
|
+
`http://localhost:${DEFAULT_HUB_PORT}`,
|
|
3661
|
+
`http://localhost:${DEFAULT_HUB_PORT}/`
|
|
3662
|
+
])
|
|
3654
3663
|
],
|
|
3655
3664
|
responseTypes: ["OIDC_RESPONSE_TYPE_CODE"],
|
|
3656
3665
|
grantTypes: ["OIDC_GRANT_TYPE_AUTHORIZATION_CODE", "OIDC_GRANT_TYPE_REFRESH_TOKEN"],
|