All Collections
Troubleshooting
Connections and authentication
Resolving issues with logging in and connecting orgs via Salesforce
Resolving issues with logging in and connecting orgs via Salesforce

Fixing common OAuth, initial setup and cookie issues when connecting to your Salesforce org

Dave Thomas avatar
Written by Dave Thomas
Updated over a week ago

On occasion, when you arrive at https://app.gearset.com/ and try to log in with a Salesforce account, you may find you're unable to proceed after entering your Salesforce credentials - the browser serves up a blank page or that your Salesforce credentials are showing as incorrect.

Alternatively, you may find yourself unable to connect a new Salesforce org to Gearset with a similar message.

This article addresses some common resolutions to these problem.

Connecting with the appropriate organization type

The first thing to understand what org type you have: Salesforce (Production, Developer) accounts will authenticate against https://login.salesforce.com/, while Salesforce (Sandbox) accounts will authenticate against https://test.salesforce.com/.

As the different account types use two different authentication URL and flows but have a similar UI, it's easy to accidentally click on the wrong account type when logging into Gearset. It's always worth double-checking you're using the correct flow.

Similarly, when you add a new org connection to Gearset, make sure to select the correct organization from the dropdown menu as seen below.

When using a Developer or Production account, choose the Developer or Production organization options. If you choose the Sandbox organization, your credentials will not be found as you are trying to access a different organization type. Follow here if there are issues logging in.

Using Login History to diagnose issues

If you're still running into issues and aren't sure what is going wrong, then Login History from the Salesforce Setup menu is a great way to diagnose failed requests.

In the screenshot, you can see an attempt failed due to the wrong password and you'll see a similar entry with invalid_grant|ip_restricted if there is an issue with Gearset connecting to your org.

If you find that your username and password are showing as incorrect.

You may find that your Salesforce credentials are showing as incorrect.

This is commonly because you are logging into

  • a production or developer org account, but you selected the sandbox org type, or

  • a sandbox org account, but you selected the production or developer org type

If this happens simply revert back to the connection screen below and choose the correct organization, and that should allow the connection will be added to your org list on Gearset.

Did this answer your question?