I need a help for authorize a Dev Hub Org using the Web-Based Flow.
The output of the SFDX Cli is below.
sfdx force:org:display -u myhuborg
Acess Token : 00D000027…..
Alias : myhuborg
Client Id : PlataformCLI
Id : 00D000027…..
Instance Url : https://lemarbysoft-dev-ed.my.salesforce.com
Username : marcosruztreinamento@gmail.com
The Salesforce DX Developer Guide claims that Plataform provides a default connected app by default, and the only thing that we need to do is to run sfdx force:auth:web:login -r instanceUrl
but it doesn´t work.
May I create a connected app using the parameters above to authorize and open my Dev Hub Org ?
If Yes, how can I do that ?
Is the PlataformCLI the default connected app ?
The json file output regarding to the authorize command can help me to solve this problem ?
Thank you very much in advance.
Below, I have included the connected app page datail, the SFDX command and the error message. The SFDX command require the "Oauth client secret of personal connected app".
Best Answer
Can you share what error you get in authorization as per the Salesforce Guide if you are using your Custom Connected App then command should be
After this it will ask for connectedApp secret-key and on entering that it will open the browser having url same as your instance url.
Things to consider here
you can check more for sfdx connected-app in salesforce documentation