RemiDocs

SCIM provisioning

How to connect Remi to Okta, Microsoft Entra ID or authentik so that people are added to your Remi team and removed from it by the same system your IT team already uses, what to do about Google Workspace, and what it means for someone to be managed this way.

If your company already manages who gets which apps from one place, such as Okta or Microsoft Entra ID, you can have it manage Remi too. Add someone to the Remi app there and they're in your Remi team before they've even signed in. Switch them off when they leave and they're signed out of Remi on every device, with their work kept for whoever takes over. The standard that makes this work is called SCIM, and Remi supports version 2.0 of it, which every major system speaks. On this page, that system is your provider.

You don't need SCIM to use single sign-on. Single sign-on is about how people sign in, and it can add new people to your team the first time they do. SCIM is about keeping the team list right from then on, and above all about taking people off it the moment they leave. In Remi it's called Automatic team updates, and an owner sets it up from Settings then Security. Admins can see how it's set up, but the buttons are off for them, with Only an owner can change this beside each one, because whoever holds a token can put anyone they like into your team.

Before you start

  • A verified domain. Remi only lets your provider create and manage people whose email is on a domain you've verified, so that a mistake there can't reach into someone else's account. Verify your domain explains how.
  • Single sign-on, usually. People your provider adds will normally sign in through it, and in Okta the switch for these updates lives on the same Remi app, so the usual order is single sign-on first. Remi doesn't insist on it.
  • Admin access to your provider, as for single sign-on. If someone else runs it, the steps below are written so you can send them along.

Create a SCIM token

Your provider needs two things to talk to Remi: an address to send changes to, and a token that proves it's allowed to. Remi gives you both.

  1. Go to Settings then Security, find Automatic team updates, and select Set up automatic updates.
  2. Choose which provider sends the updates. If you've set up single sign-on, that provider is marked You use this for sign-in, and it's almost always the right choice.
  3. Under Expires, choose how long the token should last: 90 days, a year, or never. When it expires, updates stop until you create a new one, and Remi emails you a week before. Select Create token, and confirm it's you if Remi asks.
  4. Remi shows the SCIM base URL and the new SCIM token, each with a Copy button. Paste both into your provider now, following the tab for it below, because Remi shows the token only this once. If you try to leave the page without it, Remi checks that you mean to.

Anyone who has the token can add and remove people in your team, so treat it as you would a password, and only an owner can create or revoke one. You can have two tokens at a time, so that you can create a new one, paste it into your provider, wait until it shows as used in Remi, and only then revoke the old one. Revoking a token stops that provider's updates straight away, but removes nobody from your team.

To check it worked: the token is listed under SCIM tokens with when it was created and when it expires, and the badge reads Waiting for Okta (or your provider's name) until the first update arrives.

Connect your provider

Okta

These steps start from the Remi app you created in Okta for single sign-on.

  1. In the Okta Admin Console, open the Remi app under Applications then Applications. On its General tab, under App Settings, select Edit, set Provisioning to SCIM, and select Save.
  2. On the new Provisioning tab, select Edit under SCIM Connection.
  3. Paste Remi's SCIM base URL into SCIM connector base URL, and type userName into Unique identifier field for users.
  4. Under Supported provisioning actions, tick Push New Users and Push Profile Updates. Tick Push Groups too if you'd like to map groups to roles later.
  5. Set Authentication Mode to HTTP Header, paste Remi's SCIM token into Authorization, and select Test Connector Configuration. Okta tells you which actions it was able to check. Select Save.
  6. Under Provisioning then To App, select Edit, tick Create Users, Update User Attributes and Deactivate Users, and select Save.
  7. On the Assignments tab, assign the people or groups who should be in Remi. Each one is sent to Remi straight away.

To check it worked: add one person to the Remi app in your provider, then look back at Automatic team updates in Remi. The badge changes from Waiting for Okta (or your provider's name) to On, Last update shows when it heard from your provider, and People managed counts the person. On the Team page they're listed with the label Managed in Okta, and Settings then Activity shows that Okta added them.

If the badge still reads Waiting for Okta after a while, your provider hasn't sent anything yet, so check that someone is assigned to the Remi app there. Show setup steps brings the steps back if you need them. Later on, if your provider goes quiet for a week, the badge reads No updates lately, which usually means a token has expired or been changed on one side.

Map groups to roles

If your provider sends its groups to Remi as well as its people, an owner can decide what each group means here: an account role, and which workspaces its members join. Being added to the Finance group in your provider is then enough to be a member in Remi and in the Finance workspace, and leaving the group takes both away again, so nobody has to remember to change a role by hand.

Groups reach Remi in different ways. In Okta, tick Push Groups under Supported provisioning actions, then open the Remi app's Push Groups tab and push the groups you want to use. In Entra, assign the groups to the Remi app under Users and groups, and they come across with the next update, about every forty minutes. authentik sends every group its people belong to, so if some are missing, check Group filtering on the SCIM provider. Google Workspace can't send groups, for the same reason it can't send people.

Once a group has arrived, go to Settings then Security, find Automatic team updates, and look under Groups and roles. Only an owner can change what's there, and Remi asks them to confirm it's them first. Admins can see it but not change it.

  1. Under Role for people not in a mapped group, choose Viewer or Member. Everyone your provider adds gets at least this, and you can't make everyone an admin this way.
  2. For each group, choose an Account role of Viewer, Member or Admin, or leave it as No role from this group. A group can never make someone an owner.
  3. Under Workspaces, choose for each workspace whether the group's people are Not added, a Member or a Workspace admin there.
  4. Your changes wait on the page until you select Save, and Discard throws them away. Before it saves, Remi shows you who moves: how many people change role and from what to what, and who joins or leaves each workspace. A line where someone loses a role or leaves a workspace is amber and names up to five of them, so a demotion can't slip past you. If nobody moves, Remi saves without asking. Select Save changes, and Remi updates everyone's roles, which takes a moment.

When someone is in more than one group, they get the highest role. Owners keep their role whatever their groups say. If you change the default role, only the people still on it move, and a role you set by hand stays. A place in a workspace that someone had before a group gave it to them stays theirs if they leave the group.

On the Team page, a person whose role comes from a group has a lock on their role, with a line under their name saying which group sets it, because a role you changed by hand would be put back at your provider's next update. Someone on the default role can still be changed by hand, and the line under their name says the role came from the default. Once you've changed it, your provider's updates leave it alone, until they join a mapped group. On a workspace's Settings tab, under Team, someone a group added has a line under their email naming the group, a role badge you can't change there, and a lock where the remove button would be, so take them out of the group in your provider instead.

To check it worked: the Team page shows the new roles, each with the group's name under it, and Settings then Activity records that you changed what the group can do.

When someone is managed in your provider

A person your provider added, or whose details it has updated, is marked Managed in Okta (or your provider's name) on the Team page, and the page can be filtered to show Everyone, only those people, or only the people Added in Remi. For a managed person, a few things happen in your provider rather than in Remi:

  • Their name and email come from your provider, so they can't change them in Remi, and their personal settings say so.
  • They're removed by taking them out of the Remi app in your provider. The Remove button on the Team page becomes a lock that explains this, because if Remi removed them, your provider would add them straight back.
  • Their Remi account belongs to your company's account, so they can't create an account of their own.

Everything else is theirs as usual. Their chats stay private, and their personal settings, facts and signed-in devices are their own. You can still invite people from outside your domain by hand, and the invite form reminds you that people on your domain join through your provider.

When someone leaves

When your provider switches someone off or takes them out of the Remi app, Remi acts straight away. They're signed out of Remi on every device, including Remi Desktop, the Remi CLI, the browser extension and the phone apps, any tokens they made for scripts stop working, and anything Remi was doing for them stops. They're taken off the team, Activity records that your provider removed them and signed them out everywhere, and Automatic team updates counts them under Removed by Okta in the last 30 days.

What they see is one sentence on the sign-in screen: that their company signed them out of Remi, and to ask their IT team if that's a mistake. If they try to sign in again with an email code, Remi tells them their company has removed them, and doesn't send a code.

Nothing they made is deleted. Their chats, documents and tasks stay where they were, so a colleague with access to the same workspace or project can carry on. If the person comes back and your provider adds them again, they get the same Remi account back, with everything still in it.

Turn automatic updates off

As an owner, open the More actions menu (⋯) on Automatic team updates and choose Turn off. Remi revokes the SCIM tokens and stops listening to your provider. Everyone stays in your team with the role they have, nothing locks those roles any more, and from then on you add and remove people by hand again. To start again later, go through Create a SCIM token once more.

On this page