Step by Step Guide to Configure Slack as an OAuth Server

  1. Go to https://api.slack.com/apps and log into your Slack account.
  1. You will be presented with following screen. Click on Create new App.

  2. You will be shown a form where you have to enter Application Name and Development Slack Workspace. Fill the form with appropriate information and click on Create App.

 

  1. After creating the application, you will be brought to Application Management page. Scroll down to “App Credentials” section. Here you will find given Client ID and Client Secret.

  2. Copy these credentials in MO OAuth Plugin configuration on corresponding fields.
  3. Go to OAuth & Permissions

 

    1. In Redirect URLs section, Click on Add New Redirect URL and enter the same from the MO OAuth Client. Click on Save URLs.

    2. Scroll Down to Scopes section and add necessary scopes like so and then click on Save Changes:

      NOTE: These scopes must be same on the MO OAuth Application Configuration page. You have successfully completed your Slack App configurations.

    1. You can download OAuth Client plugin using the following link.

WordPress OAuth Login ( OAuth Client )

Slack Endpoints and Scope:

Client ID :  from the step 4 above
Client Secret :  from the step 4 above
Scope:  users.profile:read
Authorize Endpoint: https://slack.com/oauth/authorize
Access Token Endpoint: https://slack.com/api/oauth.access
Get User Info Endpoint: https://slack.com/api/users.profile.get

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