@base44-preview/cli 0.0.51-pr.484.9abd5e2 → 0.0.51-pr.484.a220663
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/cli/index.js +2 -15
- package/dist/cli/index.js.map +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -251270,21 +251270,8 @@ function mergeFileWithFlags(fileConfig, options) {
|
|
|
251270
251270
|
};
|
|
251271
251271
|
}
|
|
251272
251272
|
var providerNames = Object.keys(KNOWN_SSO_PROVIDERS);
|
|
251273
|
-
var SECRET_KEY_TO_FLAG = {
|
|
251274
|
-
["sso_name" /* Name */]: "--sso-name",
|
|
251275
|
-
["sso_client_id" /* ClientId */]: "--client-id",
|
|
251276
|
-
["sso_client_secret" /* ClientSecret */]: "--client-secret",
|
|
251277
|
-
["sso_scope" /* Scope */]: "--scope",
|
|
251278
|
-
["sso_discovery_url" /* DiscoveryUrl */]: "--discovery-url",
|
|
251279
|
-
["sso_tenant_id" /* TenantId */]: "--tenant-id",
|
|
251280
|
-
["sso_auth_endpoint" /* AuthEndpoint */]: "--auth-endpoint",
|
|
251281
|
-
["sso_token_endpoint" /* TokenEndpoint */]: "--token-endpoint",
|
|
251282
|
-
["sso_userinfo_endpoint" /* UserinfoEndpoint */]: "--userinfo-endpoint",
|
|
251283
|
-
["sso_okta_domain" /* OktaDomain */]: "--okta-domain",
|
|
251284
|
-
["sso_jwks_uri" /* JwksUri */]: "--jwks-uri"
|
|
251285
|
-
};
|
|
251286
251273
|
function secretKeyToFlag(key) {
|
|
251287
|
-
return
|
|
251274
|
+
return `--${key.replace(/^sso_/, "").replace(/_/g, "-")}`;
|
|
251288
251275
|
}
|
|
251289
251276
|
function exampleCommand(provider) {
|
|
251290
251277
|
let cmd = `base44 auth sso enable --provider ${provider} --client-id <id> --client-secret <secret>`;
|
|
@@ -261278,4 +261265,4 @@ export {
|
|
|
261278
261265
|
CLIExitError
|
|
261279
261266
|
};
|
|
261280
261267
|
|
|
261281
|
-
//# debugId=
|
|
261268
|
+
//# debugId=3A692D5B92B6C98C64756E2164756E21
|