The following article will guide you on how to integrate Slack with Caspio directories. Thanks to such integration, you will be able to:  
  • Allow your users to sign-in to Slack with their Caspio accounts. 
  • Manage access permissions to Slack in one central location, that is Caspio directories. 

Before you start: 

Ensure you have an account in Slack. 

  1. Sign in to your Slack administrator account. 
  2. Click on the name to expand a dropdown and select Settings & administration, then open Workspace settings. 
  3. Select the Authentication tab. 
  4. Select Configure next to SAML authentication. 
  5. In Caspio directories, in the App connections tab, click Create App Connection. You will need to fill in Identifier (Identity ID) and Reply URL (Assertion Consumer Service URL) fields with the URLs from step 7. 
  6. In Slack, in the SAML 2.0 Endpoint (HTTP) section, select Custom SAML Instructions.
  7. In Configure SAML Authentication, copy the links and paste into Caspio according to the following table: 
Caspio Identity provider settings  Slack 
Copy the Entity ID link https://slack.com ... …and paste it into the Identifier (Identity ID) field in Caspio.

Copy the SSO post-back up URL link: 

https://yourdomain.slack.com/sso/samlhttps://yourdomain.slack.com/sso/saml

where ‘yourdomain’ is your Slack domain...

…and paste it into the Reply URL (Assertion Consumer Service URL) field in Caspio. 

  1. Select Create and enable.
  2. In Slack, in the Advanced Options section, clear the Assertions Signed checkbox.

  1. Then, copy the links from Caspio, the Identity provider settings section, and paste into Slack. 
Caspio Identity provider settings  Slack 
Copy the Identity provider identifier...  …and paste it into the Identity Provider Issuer field. 
Copy the Single sign-on URL...  …and paste it into SAML 2.0 Endpoint (HTTP) field.

 

  1. In Caspio directories, in the SAML signing certificate section, download the certificate. Open it in the text editor and copy-paste in Slack, in the Public certificate field. 
  2. Additionally, you can decide if SSO is required, partially required or optional.

  1. In the Customize section, enter aSign in Button Label. 
  2. SelectSave Configuration. 

Testing
STEPS IN CASPIO 

  1. In directories, create a test user, making sure the email address is the same as in Slack. 
  2. Activate a user with Generate password, clear the User must change password on first login checkbox. 
  3. Open app connections and add a user to a newly created app connection with Slack. 
    1. In your directory, click the App connections tab. 
    2. Hover over an app connection and select Open. 
    3. In the Users tab, select Add users. 
    4. In the Add users to app connection panel, select the users. 
    5. Click Add. 

STEPS IN SLACK  

  1. Go to Slack Sign-on URL and initiate the login flow from there. You will be redirected to the User portal login page. After successful sign in with the user portal credentials, you will be redirected to Slack application.