create-authhero 0.48.0 ā 0.48.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/dist/create-authhero.js +6 -2
- package/package.json +1 -1
package/dist/create-authhero.js
CHANGED
|
@@ -455,6 +455,9 @@ interface ExtraClient {
|
|
|
455
455
|
allowed_logout_urls?: string[];
|
|
456
456
|
web_origins?: string[];
|
|
457
457
|
auth0_conformant?: boolean;
|
|
458
|
+
oidc_logout?: {
|
|
459
|
+
backchannel_logout_urls?: string[];
|
|
460
|
+
};
|
|
458
461
|
}
|
|
459
462
|
|
|
460
463
|
function parseFlag(name: string): string | undefined {
|
|
@@ -533,6 +536,7 @@ async function main() {
|
|
|
533
536
|
...(c.auth0_conformant !== undefined && {
|
|
534
537
|
auth0_conformant: c.auth0_conformant,
|
|
535
538
|
}),
|
|
539
|
+
...(c.oidc_logout !== undefined && { oidc_logout: c.oidc_logout }),
|
|
536
540
|
});
|
|
537
541
|
console.log(\`ā
Created client "\${c.client_id}"\`);
|
|
538
542
|
}
|
|
@@ -1009,7 +1013,7 @@ c.version("1.0.0").description("Create a new AuthHero project").argument("[proje
|
|
|
1009
1013
|
]
|
|
1010
1014
|
}])).setupType;
|
|
1011
1015
|
let h;
|
|
1012
|
-
h = m === "cloudflare-control-plane" ? !0 : m === "proxy" || m === "cloudflare-wfp-dispatcher" || m === "cloudflare-wfp-tenant" ? !1 : i.multiTenant === void 0 ? o
|
|
1016
|
+
h = m === "cloudflare-control-plane" ? !0 : m === "proxy" || m === "cloudflare-wfp-dispatcher" || m === "cloudflare-wfp-tenant" ? !1 : i.multiTenant === void 0 ? !o && (await t.prompt([{
|
|
1013
1017
|
type: "confirm",
|
|
1014
1018
|
name: "multiTenant",
|
|
1015
1019
|
message: "Would you like to enable multi-tenant mode?",
|
|
@@ -1123,7 +1127,7 @@ ENCRYPTION_KEY=${s()}
|
|
|
1123
1127
|
}])).shouldMigrate, n && (console.log("\nš Running migrations...\n"), await x(`${e} run migrate`, p));
|
|
1124
1128
|
}
|
|
1125
1129
|
let n;
|
|
1126
|
-
n = i.skipStart
|
|
1130
|
+
n = !i.skipStart && !o && (await t.prompt([{
|
|
1127
1131
|
type: "confirm",
|
|
1128
1132
|
name: "shouldStart",
|
|
1129
1133
|
message: "Would you like to start the development server?",
|