Skip to main content TDX, the developer conference for the AI agent era is happening now. Watch live on Salesforce+ for exclusive digital content, a revolutionary keynote, and more.

Error authenticating with auth code due to: request to https://login.salesforce.com//services/oauth2/token failed, reason: self signed certificate in certificate chain

This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.

 

In "visual studio code" list me the follows messages:

 

07:09:36.626 sfdx force:auth:web:login --setalias myDevOrg --instanceurl https://login.salesforce.com --setdefaultusername

Warning: The "force auth web login" command has been deprecated. Use "org login web" instead.

Warning: The "--setalias" flag has been deprecated. Use "--alias | -a" instead.

Warning: The "--instanceurl" flag has been deprecated. Use "--instance-url | -r" instead.

Warning: The "--setdefaultusername" flag has been deprecated. Use "--set-default | -s" instead.

Error (1): Invalid client credentials. Verify the OAuth client secret and ID. Error authenticating with auth code due to: request to https://login.salesforce.com//services/oauth2/token failed, reason: self signed certificate in certificate chain

07:10:20.379 sfdx force:auth:web:login --setalias myDevOrg --instanceurl https://login.salesforce.com --setdefaultusername

 ended with exit code 1

2 risposte
0/9000