From e00d6793f145938f4f51ad97f3d6dbb5ea0f4fd9 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Fri, 23 Aug 2024 14:07:37 -0500 Subject: [PATCH 1/4] feat: temp redirect uri --- src/commands/org/login/web.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/org/login/web.ts b/src/commands/org/login/web.ts index 509fdc24..90a772e4 100644 --- a/src/commands/org/login/web.ts +++ b/src/commands/org/login/web.ts @@ -82,6 +82,7 @@ export default class LoginWeb extends SfCommand { const oauthConfig: OAuth2Config = { loginUrl: await common.resolveLoginUrl(flags['instance-url']?.href), clientId: flags['client-id'], + redirectUri: process.env.SF_AUTH_REDIRECT_URL ?? undefined, ...(flags['client-id'] ? { clientSecret: await this.secretPrompt({ message: commonMessages.getMessage('clientSecretStdin') }) } : {}), From dabfacad9bd900f24396d62c722ec6e9ca2e6b5e Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Fri, 23 Aug 2024 19:09:42 +0000 Subject: [PATCH 2/4] chore(release): 3.6.49-test.0 [skip ci] --- README.md | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 18b876ba..3ebefc81 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ EXAMPLES $ sf org list auth ``` -_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/list/auth.ts)_ +_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/list/auth.ts)_ ## `sf org login access-token` @@ -162,7 +162,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/login/access-token.ts)_ +_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/access-token.ts)_ ## `sf org login device` @@ -222,7 +222,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/login/device.ts)_ +_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/device.ts)_ ## `sf org login jwt` @@ -313,7 +313,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/login/jwt.ts)_ +_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/jwt.ts)_ ## `sf org login sfdx-url` @@ -378,7 +378,7 @@ EXAMPLES $ echo url | sf org login sfdx-url --sfdx-url-stdin ``` -_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/login/sfdx-url.ts)_ +_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/sfdx-url.ts)_ ## `sf org login web` @@ -465,7 +465,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/login/web.ts)_ +_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/web.ts)_ ## `sf org logout` @@ -526,6 +526,6 @@ FLAG DESCRIPTIONS All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs. ``` -_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.48/src/commands/org/logout.ts)_ +_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/logout.ts)_ diff --git a/package.json b/package.json index eb728cb2..d15be80d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-auth", "description": "plugin for sf auth commands", - "version": "3.6.48", + "version": "3.6.49-test.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": { From 927e0b5b2618075b96b98eeb299a8bb9e8783e86 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Fri, 23 Aug 2024 14:28:52 -0500 Subject: [PATCH 3/4] fix: prerelease From 23ef75950e3d39028ea02484a81c50a90cdedfdc Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Fri, 23 Aug 2024 19:30:52 +0000 Subject: [PATCH 4/4] chore(release): 3.6.49-test.1 [skip ci] --- README.md | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3ebefc81..699b5782 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ EXAMPLES $ sf org list auth ``` -_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/list/auth.ts)_ +_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/list/auth.ts)_ ## `sf org login access-token` @@ -162,7 +162,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/access-token.ts)_ +_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/login/access-token.ts)_ ## `sf org login device` @@ -222,7 +222,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/device.ts)_ +_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/login/device.ts)_ ## `sf org login jwt` @@ -313,7 +313,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/jwt.ts)_ +_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/login/jwt.ts)_ ## `sf org login sfdx-url` @@ -378,7 +378,7 @@ EXAMPLES $ echo url | sf org login sfdx-url --sfdx-url-stdin ``` -_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/sfdx-url.ts)_ +_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/login/sfdx-url.ts)_ ## `sf org login web` @@ -465,7 +465,7 @@ FLAG DESCRIPTIONS To specify a sandbox, set --instance-url to "https://--.sandbox.my.salesforce.com". ``` -_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/login/web.ts)_ +_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/login/web.ts)_ ## `sf org logout` @@ -526,6 +526,6 @@ FLAG DESCRIPTIONS All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs. ``` -_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.0/src/commands/org/logout.ts)_ +_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.6.49-test.1/src/commands/org/logout.ts)_ diff --git a/package.json b/package.json index d15be80d..fef17b0f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-auth", "description": "plugin for sf auth commands", - "version": "3.6.49-test.0", + "version": "3.6.49-test.1", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {