SCIM connector
This page describes how to configure the SCIM connector
OpenIAM provides an out-of-the-box SCIM connector to simplify integration with applications which support the SCIM standard for user life cycle management. A default Managed System configuration has been provided to simplify the configuration process.
The connector supports both SCIM 1.1 and SCIM 2.0 target applications.
Create / modify user
✅
Delete user
✅
Suspend / resume user
✅
Reset password
✅
Search / synchronize users
✅
Create / modify / delete groups
✅
Search groups
✅
Test connection
✅
Unless you are familiar with OpenIAM, we recommend that you leverage the OTB configuration and modify it to suit your needs.
The steps provided below assume that you are creating a new configuration and not leveraging the existing configuration.
Use cases
Provisioning and deprovisioning users in SaaS applications that expose a SCIM interface (for example, Slack or Atlassian) without needing a dedicated connector.
A generic integration path for any SCIM 1.1 / SCIM 2.0-compliant application.
Versions and compatibility
The end application is any service that exposes a SCIM endpoint. The connector carries two separate client libraries, one for each version of the standard, and picks between them from the SCIM Version field on the managed system.
Standard
SCIM 1.0 and SCIM 2.0
Interface
The SCIM REST API, over HTTPS
Libraries
The UnboundID SCIM SDK for 1.0, and the PingIdentity SCIM 2 SDK for 2.0
Host
The managed system's URL, the service's SCIM base path
Authentication
A bearer token
Prerequisites
The SCIM endpoint URL of the target application (e.g.
https://api.atlassian.com/scim/directory/[tenant id]).Credentials for the target: either an authentication token (Bearer) or a Basic-auth login and password.
The SCIM version (1.0/1.1 or 2.0) used by the target application.
Installing the connector
Normally, the SCIM connector is installed as part of the standard OpenIAM installation — no separate installation is required in a Kubernetes deployment.
In an RPM environment, run it with the connector service unit (openiam-connector@scim-connector-rabbitmq) or as a standalone JAR — see Connectors via RPM.
Starting, stopping, and restarting
RPM (systemd)
systemctl start|stop|restart openiam-connector@scim-connector-rabbitmq
Kubernetes
kubectl rollout restart the connector deployment.
Command-line parameters and properties
The connector is a Spring Boot application. Its defaults ship inside the jar, and you override them in either of two places:
An external property file, read at
${confpath}/conf/properties/scim-connector-rabbitmq.properties. The file is optional, andconfpathis itself a system property, set with-Dconfpath=/data/openiam/.Directly on the command line, as
-Darguments, which win over the file.
The connection details themselves are not set here — they are managed system parameters, covered under Configuring the managed system.
Verifying the connector is running
In the Webconsole, open the managed system — the Running connector status indicator must be green.
Click Test Connection — it must return success.
In the RabbitMQ management console, confirm the SCIM_Connector_1_Request queue exists and has a consumer.
Troubleshooting
Operations fail with SCIM_CLIENT_NOT_INITIALIZED
Connection parameters incomplete
Verify Host URL, Authentication type, and — for Token auth — that the Token field is populated.
Authentication errors (401/403)
Wrong auth type or expired token
Check whether the target expects Basic Auth or a Bearer token, and rotate the token if it expired.
Requests rejected by the target with schema errors
Wrong SCIM version selected
The SCIM version on the managed system must match the interface version of the target application (1.0/1.1 vs 2.0).
Connector never receives messages
Queue-name mismatch
The connector record's queue must equal SCIM_Connector_1_Request exactly.
See also: general connector troubleshooting and the connector error-code reference.
Registering the connector in OpenIAM
Before you can use the SCIM connector, ensure that the connector has been registered with the OpenIAM application. You can validate the connector has registered by doing the following:
Goto the Webconsole -> Provisioning -> Connectors
Search for SCIM
You should see an entry in the list. If you don't, then follow the step below to register the connector
Go to
Webconsole -> Provisioning -> ConnectorsClick on
Create new connectoras shown in the image below:

Complete the form as described in the table below
Connector Name
Name of the connector. They can be any user-friendly name
SCIM Connector
Metadata Grouping
Connectors are part of a metadata group which is used internally
Connector Type
Metadata Type name
The metadata type is used to define attributes and configurations
SCIM Connector
Connector Queue
Name of the RabbitMQ message queue which will be used by the connector to communicate with the other OpenIAM Services
SCIM_Connector_1
Next, define the configuration parameters which will be used by the connector by using the
Connector configurationmenu on the sidebar. The following options should be enabled for the SCIM connector:
Add object rule
Delete object rule
Modify object rule
Password rule
Test connection object rule
Search object rule
Resume object rule
Suspend object rule
Object primary key for user
Y
Add the following Custom Fields:
AUTH_TYPE
Combo box
TOKEN
Text field
SCIM_VERSION
Combo box
TOKEN_TYPE
Combo box
org.openiam.connector.queue
SCIM_Connector_1_Request
Must match the connector record in OpenIAM.
org.openiam.connector.queueResponseName
SCIM_Connector_1_Response
Configuring the managed system
After the connector has been registered, you will need to define a managed system configuration. The managed system configuration will:
Tell the connector how to connect to the end application using SCIM
Determine which attributes will be Managed by OpenIAM during the provisioning/de-provisioning process
To configure a managed system, do the following:
Go to
Webconsole -> Provisioning -> Managed SystemClick on
Create Managed System
Complete the form as described below.
Connector
This is the name of the connector as described above during the registration process
SCIM Connector
Managed system name
Descriptive name to represent this configuration
[ User defined ]
Active
Checkbox to indicate if this configuration is active. If it's unchecked, the connector will not communicate with the end-application
Host URL
URL of the SCIM interface on the end-application: eg. https://api.atlassian.com/scim/directory/[ tenant id]
Login ID
If the Authentication type is Token, Login Id is not needed as this will be replaced by the authentication token
0001
Password
If the Authentication type is Token, Password is not needed as this will be replaced by the authentication token
Authentication type
Indicates the type of authentication
Token
Token
Value of the authentication token
Token
SCIM version
Version of the SCIM interface being used by the target application
1.0 or 2.0
Token Type
Type of authentication token being used
Bearer
Examples
Two worked examples. They are worth reading side by side, because the two services sit on different versions of the standard — which is the single setting most often wrong on a new SCIM managed system.
Host URL
https://api.slack.com/scim/v1/
https://api.atlassian.com/scim/directory/<directoryId>
Authentication Type
Token
Token
Token Type
Bearer
Bearer
Token
The Slack SCIM token
The Atlassian organization API key
SCIM Version
1.0
2.0
Take the Atlassian directory ID from the SCIM base URL that Atlassian shows when you create the API key; it is part of the path, not a separate field.
Attribute mapping and policy map
Which user attributes are written to the target application is controlled by the managed system's policy map, as with any other connector — see the Policy map documentation. The attributes are transmitted in the standard SCIM user schema of the version selected on the managed system.
Reconciliation and synchronization
The connector supports searching users and groups from the SCIM target, so you can configure a synchronization against the managed system as described in Configuring synchronization.
Last updated
Was this helpful?