Freedam

SCIM Provisioning

The SCIM provisioning card of the Single sign-on tab of Access Settings lets your identity provider manage Freedam accounts and user groups.

Who can use it

The card is part of Access Settings, which only people with the Manage system settings permission can open.

What SCIM does

  • What it's for: Letting your identity provider create, update and deactivate Freedam accounts, so access follows who works at your company.
  • Where to find it: The SCIM provisioning card of the Single sign-on tab, below SAML single sign-on.
  • Typical use: An employee who joins gets an account before their first sign-in, and an employee who leaves loses access the day IT disables them.
  • Result: Accounts appear, change and are deactivated in Users without anyone doing it by hand.

Freedam implements SCIM 2.0 for users and groups. Microsoft Entra ID and Okta are supported, and other SCIM 2.0 clients, such as authentik, work when they send the email address as userName. SCIM works with or without SAML single sign-on.

The SCIM provisioning card with the endpoint and the token form

Connect your identity provider

  1. Copy the SCIM endpoint (tenant URL) from the card.
  2. Enter a Token name and click Generate token. Copy the token: it is shown once.
  3. In your identity provider's provisioning settings, enter the endpoint as the tenant URL (Entra ID) or SCIM base URL (Okta), and the token as the secret token or bearer token.
  4. Keep userName mapped to the person's email address, then start provisioning. Freedam refuses a person whose userName is not an email address with the error "userName must be an email address.", which your identity provider lists in its provisioning logs. Some providers map userName to a user name by default, authentik for one: change the mapping to the email address.

A workspace has two active tokens at most, so you can generate a new one, update your identity provider, then Revoke the old one. Each token shows when it was last used. Once your identity provider has provisioned accounts, the card says how many accounts are managed through SCIM.

The Tokens section of the SCIM provisioning card with one active token, when it was last used, and its Revoke button

What the identity provider can do

  • Create an account: the account gets the role of new accounts (the role for its email domain under Roles by Email Domain, else the Default Role) and no password. Its owner signs in with single sign-on, or sets a password with Forgot your password.
  • Match an existing account: an account that already has the same email address is taken over, not created twice.
  • Update the name and the email address.
  • Deactivate and reactivate an account. Deactivation ends the person's sessions and API tokens.
  • Delete: the account is deactivated and is no longer listed to the identity provider. Its assets, collections and shares stay in place. To delete an account for good and hand its content to someone else, use Users.

Groups

When your identity provider provisions groups (group push in Okta, group provisioning in Entra ID), each group is a Freedam user group, so the asset access rules that name a group follow the membership kept at the identity provider.

  • Create a group: it appears under User Groups, at the top level. A group name is unique: a name that already exists is refused, so link the provider's group to the existing one instead. Some providers, authentik for one, look the group up by its name after the refusal and link to it on their own.
  • Rename a group and add or remove members. This also works on a group you created by hand, once the provider is linked to it.
  • Delete: only a group the identity provider created is deleted. A group created in Freedam stays, and the provider gets an error that says so.

The Tenant Admins group and the other system groups are not visible to the identity provider: who administers the workspace is always decided in Freedam.

The last active member of the Tenant Admins group is never deactivated through SCIM, so a mistake in the identity provider's assignment cannot lock the workspace. Changes made through SCIM appear in the Audit Log with the actor "Identity provider (SCIM)": accounts created, activated and deactivated, roles given, and groups created, renamed, deleted or changed in their members. As for changes made in Users, a new name or email address is not listed.

SCIM provisioning is included in the Business plan and in Tailored plans.

Try Freedam

Related Documentation

Explore more in this category