-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fail to authenticate with JWT #20
Comments
Seeing this too. Thanks for suggesting the workaround @yongabyte |
Facing same issue. › Warning: force:auth:jwt:grant is not a sfdx command. |
We're using AWS Codebuild in a pipeline , and using wget https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz to download sfdx. How do we get the previous version ? |
Interesting - taking a look folks. |
According to https://github.com/forcedotcom/cli/blob/main/releasenotes/README.md#50133-january-14-2021---cli-7842, the command was not removed, but is no longer aliased. Working on a fix. |
Hi @paulca99 We moved to sfdx force:auth:jwt:grant in our workflow and things started to run for us. |
Looks like over the weekend https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz has been reverted to 7.82.0 version
|
Orb Version
The version number of the orb
2.1.0 and 2.0.0
Describe the bug
Workflows started failing around noon EST.
Workflows with the default
- sfdx/install
flag failed to authenticate to Dev orgs. The reason we found was thatthe
force:auth:jwt:grant
command is dead on sfdx-cli versioned 7.83 (the current default version).To Reproduce
In the workflow:
- sfdx/install
Expected behavior
The workflow will error out on any command in the
run
step if the workflow looks something like thisFor us it was verify the default user name with
sfdx force:config:set defaultusername=x
and we got following error.Additional context
Current workaround is to specify the sfdx-cli version installed with the orb.
The text was updated successfully, but these errors were encountered: