@salesforce/core 8.32.5 → 8.32.6-eca.0
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.
|
@@ -151,11 +151,11 @@ const generateScratchOrgInfo = async ({ hubOrg, scratchOrgInfoPayload, nonamespa
|
|
|
151
151
|
return {
|
|
152
152
|
...payload,
|
|
153
153
|
orgName: scratchOrgInfoPayload.orgName ?? 'Company',
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
connectedAppCallbackUrl: process.env.SF_SCRATCH_SIGNUP_CALLBACK_URL ??
|
|
155
|
+
`http://localhost:${await webOAuthServer_1.WebOAuthServer.determineOauthPort()}/OauthRedirect`,
|
|
156
156
|
...(!nonamespace && namespace ? { namespace } : {}),
|
|
157
|
-
// Use the Hub org's client ID value, if one wasn't provided to us, or the default
|
|
158
157
|
connectedAppConsumerKey: scratchOrgInfoPayload.connectedAppConsumerKey ??
|
|
158
|
+
process.env.SF_SCRATCH_SIGNUP_CONNECTED_APP ??
|
|
159
159
|
hubOrg.getConnection().getAuthInfoFields().clientId ??
|
|
160
160
|
authInfo_1.DEFAULT_CONNECTED_APP_INFO.clientId,
|
|
161
161
|
package2AncestorIds: !ignoreAncestorIds && sfProject?.hasPackages()
|