> For the complete documentation index, see [llms.txt](https://docs.currents.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/dashboard/administration/sso-saml2.0/scim-user-provisioning.md). Agents can also search and read this documentation through its [MCP server](https://docs.currents.dev/~gitbook/mcp).

# SCIM User Provisioning

Provision and de-provision users in Currents using SCIM v2

Currents supports [SCIM v2 ](https://datatracker.ietf.org/doc/html/rfc7644)to provision and de-provision users.

In order to setup provisioning you first need to have setup [SAML2.0 Configuration](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/dashboard/administration/sso-saml2.0/saml2.0-configuration.md) .  Once ready, contact support via in-app chat or email to request SCIM be enabled for your organization.

Once enabled by Currents support, Admins will be able to find the **SCIMv2 Endpoint** and **Authorization Bearer Token** on the **Manage Team** section at <https://app.currents.dev>.

<figure><img src="https://3745692499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmFDEiUa9mr11LUlxDnt%2Fuploads%2FXpp13FIX5ZFGIT5EvOGt%2Fscim-provisioning.png?alt=media&amp;token=59d3d86f-507c-48aa-b8c9-45f94270aef8" alt=""><figcaption><p>SCIM details can be fetched in the Currents app by Org Admins</p></figcaption></figure>

### Supported  provisioners:

* [Okta Provisioning](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/dashboard/administration/sso-saml2.0/okta/okta-user-provisioning.md)
* [Other provisioners](#other-provisioners)

### Supported features

Currents supports User resource provisioning using SCIM. **Group resources are not implemented**.

Only users with an email address that matches the domains configures in the [SSO setup](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/dashboard/administration/sso-saml2.0.md) are supported.

When a user is deactivated, Currents removes the user from the team member list. When a user is activated, they are not added to the team member list in Currents until after they login.

The following provisioning endpoints are supported:

* GET Users&#x20;
  * List all users belonging to your organization in our system
  * Search for a specific user using SCIM filtering
* GET User
  * Get a specific user based on id
* POST User
  * Create a new user
* PUT User
  * Update an existing user's active status or display name.
* DELETE User
  * Deactivates the user

### Other provisioners

We do not provide an integration for all provisioners, but you may be able to manually configure your SCIM client.  Please reach out to support for assistance, and see the following SCIMv2 details for Currents.

| Name                         | Value                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------- |
| SCIMv2 Base Url              | (Different for each org, and available in the Manage Team section of the Currents app) |
| Auth Method                  | Authorization Header                                                                   |
| Auth Type                    | Bearer Token                                                                           |
| `userName` mapping           | email                                                                                  |
| Mandatory mapped fields      | `name.givenName`, `name.familyName`, `emails`, `active`                                |
| Optional non-writable fields | `name.formatted`, `displayName`                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/dashboard/administration/sso-saml2.0/scim-user-provisioning.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
