Step by step guide to configure Salesforce as an OAuth Server

Step by Step Guide to Configure Salesforce OAuth Server

1. Go to https://login.salesforce.com/ and log into your Salesforce account.2. You will be presented with the following screen. Go to Platform Tools > Apps > App Manager

3. Click on New Connected App.

4. You will be taken to application settings page. Configure the application like so.

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

6. You will be taken to Application Management page. Here, you will find Consumer ID and Consumer Secret.

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

 GitHub 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

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