Is there a way to change the Instance Url or the Login Url for the scratch org? I want to create a scratch org that can be logged in from a standard login.salesforce.com url instead of domain-specific URL, is this even possible and if yes what changes do I have to make to the scratch org definition file in order to do so? My current behavior is when I create scratch org and generate the password it can only be logged in into using the LoginUrl that is domain specific.
This is not possible. Scratch orgs are always on
test.salesforce.com, although you may also use the scratch org's Instance URL (My Domain) to initiate login.
current behavior is when I create scratch org and generate the password it can only be logged in into using the LoginUrl that is domain specific
You should be able to log in at
test.salesforce.com, but it can take 5-10 minutes for user data to sync.