Worked on a trial domaine but not on a second salesforce domaine
benramsay opened this issue · 3 comments
I was working with a salesforce trial domain (60 days). I tried to install this example and everything went as expected.
I tried to make work the same example on a an other domaine (a client domaine).
But the first command to install the example does not work:
sfdx auth:web:login -d -a myhuborg
Actually, this command brings me to login.salesforce.com . But on this domain, the credentials are not recognized.
I tried to change the domain name like this :
sfdx auth:web:login -d -a myhuborg -r client-domaine-name.saleforce.com
That leads me to the domain of the client (not login.salesforce.com)
But after putting the credentials, it redirect me to http://localhost:1717/OauthRedirect?code=*** with this error message:
Error authenticating with auth code due to: grant type not supported
This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.
Do you have any idea what I missed ?
Thx
Thank you for posting this issue. 🙇🏼♂️
We will come back to you shortly.
I kinda understand what's going on. What I have is a sandbox, not a scratch Org and not a DevHub... :)
Sorry, but this is fun for those who are new to salesforce :S
So to deploy this example on a given sandbox, the most of the commands seem to be different.
If anyone has the process to get this example working on the sandbox, that will help me a lot.
Hi, sorry for the delay. You can follow these instructions to install the sample app on a sandbox: https://github.com/trailheadapps/ebikes-lwc#installing-e-bikes-using-a-developer-edition-org-or-a-trailhead-playground