Username-Password Flow Disabled Salesforce Exception

Username-Password Flow Disabled Salesforce Exception

Exception:

Username-Password Flow Disabled

Resolution:

In Salesforce Setup, “Allow OAuth Username-Password Flows” should be enabled in “OAuth and OpenID Connect Settings” to fix this error/exception.

  1. Go to Salesforce Setup.
  2. Search and open “OAuth and OpenID Connect Settings” in the Setup Quick Find search.

Leave a Reply