Setup Slack App for Drupal OAuth Client

Step 1: Setup Slack as OAuth Provider

  • Go to https://api.slack.com/apps and login to your Slack account.
  • Create an app : Go to the Create App page. Click on Create an App option.
  • Slack SSO login with Drupal OAuth 2.0 OIDC Single Sign-on Slack SSO Login API Create New App
  • Enter App name and Development Slack Workshop. App name can be anything and by default Slack Workshop is Group but you can sign in to another workspace.
  • Click On Create App.
  • Slack SSO login with Drupal OAuth 2.0 OIDC Single Sign-on Slack SSO Create a Slack App Name
  • Here you can create your own workspace.
  • Slack SSO login with Drupal OAuth 2.0 OIDC Single Sign-on Slack SSO API Workspaces Slack URL
  • Copy Client ID and Client Secret.
  • Slack SSO login with Drupal OAuth 2.0 OIDC Single Sign-on Slack SSO API App Credential
  • Add Redirect URL : Go to OAuth & Permis sions, enter Callback URL (copied from plugin) under Redirect URLs text field and after that click on Save URLs.
  • Slack SSO login with Drupal OAuth 2.0 OIDC Single Sign-on Slack SSO API Features OAuth Permissions
  • Then, scroll Down to Scopes section and add necessary scopes like so and then click on Save Changes. Most importantly, these scopes must be the same on the miniOrange OAuth Client Application Configuration page.
  • Slack SSO login with Drupal OAuth 2.0 OIDC Single Sign-on Slack SSO API Scope Application
  • Slack Endpoints and Scope :
  • 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
Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com