Slack
BlokSec can be configured to support passwordless login to Slack via SAML 2.0. Configuration involves steps on both the BlokSec admin console and the Slack admin console.
Prerequisites
Section titled “Prerequisites”- A BlokSec admin account with permission to create applications
- A Slack workspace with admin access and SAML authentication available (Slack Business+ or Enterprise Grid)
1. Create the Slack application in BlokSec
Section titled “1. Create the Slack application in BlokSec”- Sign in to the BlokSec admin console as a user with admin privileges
- From the dashboard, click + Add Application and select Create From Template
- Select the Slack template
- Complete the application details with the following values:
| Field | Value |
|---|---|
| Name | Slack (or your preferred name) |
| Logo URI | Leave as default for Slack’s logo, or replace with a link of your choice |
| Entity ID | https://slack.com |
| NameID Source | Account name |
| Assertion Consumer Service | https://<your_domain>.slack.com/sso/saml |
| Single Logout Service | https://<your_domain>.slack.com/sso/saml/logout |
| Name ID Format | Persistent |
| Custom Attributes | No changes required |
The template includes one custom attribute that is mandatory for Slack: the $User.Email attribute, which maps to the user’s email using the ${email} variable. Leave this as-is.
- Click Submit to save the configuration
- Click View Cert and then Copy to save the X.509 signing certificate — also note the SSO URI, as both are required in the next step
2. Configure SAML authentication in Slack
Section titled “2. Configure SAML authentication in Slack”- Sign in to the Slack admin console as a user with admin privileges
- Navigate to Authentication
- Click Configure next to SAML authentication
- Enter the following values:
| Field | Value |
|---|---|
| SAML 2.0 Endpoint (HTTP) | SSO URI from the BlokSec application above |
| Identity Provider Issuer | https://api.bloksec.io |
| X.509 Certificate | Paste the certificate copied from BlokSec in step 6 above |
-
Expand the Advanced Options section and ensure that Assertions Signed is not checked
-
Optionally, customize the Sign In Button Label — we suggest using
BlokSecfor clarity -
Click Save Configuration
Verifying the integration
Section titled “Verifying the integration”- Open a private/incognito browser window
- Navigate to your Slack workspace login page
- Click the BlokSec sign-in button (or your configured label)
- Approve the sign-in on the BlokSec mobile app
- Confirm you are successfully signed in to Slack