Accounts in applications

Okta to Slack integration: Slack accounts, user groups and suspensions follow Okta

With an integration between Okta and Slack, every active Okta user with access to Slack gets a Slack account with job title, department and manager, and Okta groups become user groups in Slack. If IT suspends or deactivates someone in Okta, KoppelHet switches the Slack account off within seconds, and back on after a suspension.

Okta logoSourceOktaAn event in Okta, such as a new or changed user, a group change, a suspension or a deactivation
KoppelHetYour rules, set per field
Slack logoTargetSlack
  • Slack user with name, work email and employee number
  • Job title, department and manager
  • User groups from Okta groups
  • Deactivation and reactivation

How it works

Design, platform and support in one place

For Okta and Slack: a tailored integration, on our own platform, that we keep managing after go-live.

Design

Set per field before we build

Which data goes where, when, and what happens with exceptions. You approve the design; the quote follows from it.

More on how we work
Okta logoSlack logo
Detailed designWhat is transferred
  • Okta-gebruiker (id)→ externalId
  • login→ userName en emails
  • firstName, lastName en displayName→ name en displayName
  • employeeNumber→ enterprise.employeeNumber

Platform

Every run visible, every error reported

Per integration and per employee you see what was processed. If something goes wrong, you get an alert with the reason.

More about the platform
HistoryOkta → Slack
Example
  • 09:003 changesOK
  • 08:00No changesOK
  • 05:00Alert with explanationResolved

Support

We keep it running

We handle vendor API changes. The people who built the integration also answer your questions.

Trust Center
ISO 27001
Support after go-liveOne team to turn to
  • 24/7 monitoring
  • API changes handled
  • Hosting in Amsterdam

The project

From first conversation to ongoing support

An integration starts from your HR process, not the API. We only build after you approve the design, and you choose the go-live moment.

The project in ten steps

  1. Step 1IntakeQuestions a consultant has prepared for your systems.
  2. Step 2Detailed designField by field what happens, with exceptions and test scenarios.
  3. Step 3Approval and quoteYou approve the design; the quote follows from it.
  4. Step 4Build and testOn our platform, then your acceptance test.
  5. Step 5Go-live and supportAt a moment you choose. After that we monitor it.

What the integration does

Organisations that use Okta as identity provider and Slack as their daily workplace see Slack accounts lag behind Okta. An employee suspended in Okta keeps an active Slack account, and teams in Slack no longer match the groups in Okta.

  1. IT records in Okta which groups give access to Slack and which groups become user groups.
  2. A new user in such a group gets a Slack account through KoppelHet with job title, department and manager.
  3. When a group membership changes in Okta, KoppelHet updates the user group in Slack.
  4. On a suspension or deactivation in Okta, KoppelHet switches the Slack account off.
  5. When the suspension is lifted, KoppelHet switches the same Slack account back on.
Okta → KoppelHet → SlackSOURCEOktaTARGETSlackKoppelHetmapping · logging · monitoringOkta → KoppelHet → SlackSOURCEOktaTARGETSlackKoppelHetmapping · logging · monitoring
Out: Slack user with name, work email and employee number · Job title, department and manager · User groups from Okta groups · Deactivation and reactivation

What to watch for with Okta and Slack

  • Okta sends event hooks with a three-second timeout, retries at most once and guarantees no order. KoppelHet acknowledges every notification immediately, processes it afterwards and orders by publication time, so a deactivation that arrives before the creation does not result in an active Slack account.
  • Slack does not delete users, it deactivates them, and a new account with the address of a deactivated user is refused. If someone returns in Okta after a suspension or rehire, KoppelHet switches the existing Slack account back on instead of creating a new one.
  • Okta has suspension next to deactivation, for example for leave or an investigation. KoppelHet switches a suspended user off in Slack and back on after the suspension is lifted, with the same channels and messages, so suspending in Okta also takes effect in Slack straight away.
  • Okta stores the manager as a free text field, often with an employee number, while Slack expects the Slack ID of an existing user. KoppelHet looks up the manager in Slack through their Okta user and only sets the reference once that manager has a Slack account.
  • Okta groups become user groups in Slack through SCIM, but the @ mention cannot be set through SCIM. On an Enterprise organisation such a group also becomes an IDP group. KoppelHet only creates the groups IT designates in Okta; the Slack administrator sets the @ name once personally.
  • When creating a user, Slack drops all profile fields if one custom profile field has an invalid value. KoppelHet checks the Okta values beforehand, so one department with an unknown value does not result in an empty Slack profile.
  • Slack's SCIM token only works as long as its creator remains Owner or Admin, and an Admin token cannot change Owners. KoppelHet uses a token from a separate admin account and keeps Owners out of the integration, so the departure of an IT employee does not stop the integration.

How we build and run it

  • The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
  • Every sync and every error is visible in the functional log; on an error your administrator is notified.
  • A change that cannot go through is not half-applied but queued for another attempt.
  • KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
  • After go-live we manage the integration and adjust it when your process changes.
  • The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.

Implementation, architecture and compliance

Implementation and price

This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.

A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.

Price indication · Basic

Leave your work email and we will email you the price indication for this integration.

We only use your address to follow up on your question about this integration.

Frequently asked questions

What happens to a leaver's messages?

They remain according to the retention policy of your Slack environment; Slack deactivates users and does not delete them.

Can guests also go through Okta?

Single-channel guests cannot be fully set up through SCIM. Guests can be added later as an extension, with an expiry date from Okta.

Technical details for IT

For those who want to know how it works under the hood: APIs, fields and sources used.

  • Okta through event hooks (one-time verification with the x-okta-verification-challenge header; reply within three seconds; at most one retry; at-least-once and without order, order on data.events.published and deduplicate on eventId; at most 25 active hooks per org) and the Users and Groups API with a read-only OAuth 2.0 service app.
  • To Slack through the SCIM API with an OAuth token with the admin scope, on an Enterprise organisation installed at organisation level by an Org Owner. /Users with POST, PATCH and DELETE (deactivate), reactivation with active = true; /Groups for user groups. Only on Business+ and Enterprise; HTTP 429 on too many calls.

Which fields are transferred

The key fields. The full mapping is agreed per customer.

Field in OktaField in SlackNotes
Okta-gebruiker (id)externalId
loginuserName en emailsAn address of a deactivated account cannot be reused
firstName, lastName en displayNamename en displayName
employeeNumberenterprise.employeeNumber
titletitle
department en costCenterenterprise.department en enterprise.costCenter
managerIdenterprise.manager.managerIdLooked up as Slack ID
Okta-groepUser group (/Groups)
Status SUSPENDED of DEPROVISIONEDactive = false

Related

Which systems do you want to connect?

Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.