guide to configure Salesforce as an OAuth Server



If you want to login to your WordPress site using your Salesforce username and password, you can simply do it using our WP OAuth Client plugin. Once you configure the Salesforce with WordPress plugin, you can sso/login to your WordPress site using Salesforce credentials. This plugin also allows you to map your WordPress account different roles based on your Salesforce attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.

Follow the Step-by-Step Guide to configure Salesforce with WordPress :

  • Go to https://login.salesforce.com/ and log into your Salesforce account.
  • You will be presented with the following screen. Go to Platform Tools > Apps > App Manager.
  • salesforce1
  • Click on New Connected App.
  • salesforce2
  • You will be taken to the application settings page. Configure the application like so.
  • salesforce3
  • Check the Enable Oauth Settings and you will be shown more options to configure, Such as, Callback URL (Enter from MO OAuth Plugin) and Scopes. Select the scopes as required. Make sure that the same scopes are also added in MO OAuth plugin and then scroll all the way to the bottom to click on Save.
  • salesforce4
  • You will be taken to Application Management page. Here, you will find Consumer ID and Consumer Secret.
  • salesforce5
  • Copy these credentials in MO OAuth Plugin configuration as Client ID and Client Secret.
  • You can download OAuth Client plugin using the following link.
    OAuth Single Sign On – SSO (OAuth client)

    Salesforce Endpoints and Scope:

    Client ID : from the step 6 above
    Client Secret : from the step 6 above
    Scope: user repo
    Authorize Endpoint: https://login.salesforce.com/services/oauth2/authorize
    Access Token Endpoint: https://login.salesforce.com/services/oauth2/token
    Get User Info Endpoint: https://login.salesforce.com/services/oauth2/userinfo

Free Trial

If you are facing any difficulty please mail us on info@miniorange.com.