Articles on: Browser Extension

Browser Extension login error: invalid_grant

Use case:
You are trying to login and you receive the following error message:


Error toast "invalid_grant"


What causes the Salesforce IP restricted error?

This Salesforce OAuth error can happen because of a trusted IP range policy that is in place for your Connected App.


Resolution

  1. First, you can try relaxing your Connected App’s IP policy. On your Salesforce account, go to Apps → Connected Apps → Manage Connected Apps → {{YOUR APP}} → Edit Policies and select Relax IP restrictions under the dropdown in IP Relaxation.











Updated on: 29/06/2024