-
Notifications
You must be signed in to change notification settings - Fork 84
Incomplete error message when using sfdx auth:sfdxurl:store #1298
Copy link
Copy link
Closed
Labels
bugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bugdocumentationIssue or pull request to update or fix documentationIssue or pull request to update or fix documentationinvestigatingWe're actively investigating this issueWe're actively investigating this issue
Description
Summary
When running sfdx auth:sfdxurl:store with wrong url format, the error message displays an incomplete message. It says
force://<clientId>:<clientSecret>:<refreshToken>@<loginUrl>
But according to the docs it should also say force://<refreshToken>@<instanceUrl>, as it is another option.
Steps To Reproduce:
1 - create a auth file with this force://5Aep861nW.ObxIYDklsebQKIpbMOb7FhQu5@syn--vlocdevbas.my.salesforce.com (don't worry this is invalid)
2 - verify it is missing one of the possible sfdxAuthUrl
Expected result
When the given sfdxAuthUrl is wrong, it should display an error message showing both possible sfdxAuthUrl formats:
force://@
force://::@
Actual result
When the given sfdxAuthUrl is wrong, the error message displays force://::@ only
System Information
sfdx-cli/7.127.0 darwin-arm64 node-v12.22.1
allanoricil sf-metadata main ≡ +1 12.22.1 羽316ms⠀ sfdx plugins --core zsh 0 22:48:56
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.5 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.2 (core)
@oclif/plugin-update 1.5.0 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
alias 1.1.22 (core)
apex 0.3.0 (core)
auth 1.7.5 (core)
config 1.2.47 (core)
custom-metadata 1.0.12 (core)
data 0.6.4 (core)
generator 1.2.1 (core)
limits 1.2.3 (core)
org 1.9.0 (core)
salesforce-alm 53.4.2 (core)
schema 1.0.10 (core)
sfdx-cli 7.127.0 (core)
sfdx-git-delta 4.10.0
source 1.4.0 (core)
telemetry 1.2.8 (core)
templates 52.6.0 (core)
trust 1.0.11 (core)
user 1.5.2 (core)
Additional information
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bugdocumentationIssue or pull request to update or fix documentationIssue or pull request to update or fix documentationinvestigatingWe're actively investigating this issueWe're actively investigating this issue
