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

This Salesforce OAuth error can happen because of a trusted IP range policy that is in place for your Connected App.
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.

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

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
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