Skip to content
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

Don't have password of scratch org created using "SFDC Deploy" #40

Open
ankushsomani09 opened this issue Feb 28, 2018 · 4 comments
Open

Comments

@ankushsomani09
Copy link

I clicked on "Deploy to SFDX" at "Salesforce einstein apex wrapper" git repo., this created the scratch org and given the link to login to scratch org.
Now after one day i am trying to login to scratch org with given link, but can't.
Trying to reset the password , then it ask "What is your pet's name?"

How to retrieve/login to those scratch org which are created using Deploy TO SFDX functionality using this repo. In Dev hub org, scratch org are still active.

I tried to do it via CLI, but in CLI scratch org created using this git repo are not listing.

Please help!

@FabienTaillon
Copy link
Contributor

Not sure you can do it now.
Why not just recreate a new Scratch Org from the repo and reset your password once in it ?
Remember Scratch Orgs are ephemeral, so it shouldn't be a problem to use one or another.

@ankushsomani09
Copy link
Author

Resetting password, ask question, which we don't know answer. As Org is created using sfdx.

@FabienTaillon
Copy link
Contributor

Now you're logged out maybe it's too late, but if you create a new one you can go to Setup/Users, then on the list of users check the checkbox next to your username and click on the "Reset Password(s)" button at the top of the list. This way you won't have to answer a security question.

@FabienTaillon
Copy link
Contributor

Another option for next time is to create a Connected App in your Dev Hub and then authenticate to your Scratch Orgs using the OAuth 2.0 JWT Bearer Flow, as explained here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants