-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete error message when using sfdx auth:sfdxurl:store #1298
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
The docs are also not mentioning if the INSTANCE_URL should or not be with https. It seems it is not necessary because the sfdxAuthUrl that we get when we run |
Hi @AllanOricil . I played around with this a bit, and I believe the docs are wrong: |
This issue has been linked to a new work item: W-10238649 |
This should be fixed in latest sfdx v7.130.1 🎉 |
Summary
When running
sfdx auth:sfdxurl:store
with wrong url format, the error message displays an incomplete message. It saysforce://<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
Additional information
N/A
The text was updated successfully, but these errors were encountered: