SAP Commerce Cloud
Follow this procedure to set up SAP Commerce Cloud as a target system.
Prerequisites
-
In SAP Commerce Cloud, you have added an OAuth client with authorization grant Client Credentials. To learn how, see: Configuring OAuth Client.
Context
SAP Commerce Cloud is a highly flexible and modular platform for delivering modern customer experiences. It provides a standardized, automated, end-to-end solution that allows your projects to release code from repository to cloud.
You can use Identity Provisioning to configure SAP Commerce Cloud as a target system to provision users and groups. These target systems consume SCIM 2.0 API provided by SAP Commerce Cloud. For more information, see Commerce Cloud SCIM Web Services API Documentation.
Procedure
- Access the Identity Provisioning UI.
- Add SAP Commerce Cloud as a target system. For more information, see Add New Systems.
- Choose the Properties tab to configure the connection settings for your system.
Mandatory Properties Property Name
Description & Value
Type
Enter: HTTP
URL
Enter the URL to your SAP Commerce Cloud system.
The URL follows the pattern: https://backoffice.<tenant>. model-t.cc.commerce.ondemand.com
You can find the correct URL in the Environments section of SAP Cloud Portal.
ProxyType
Enter: Internet
Authentication
Enter: BasicAuthentication
User
Enter the client ID to retrieve the OAuth access token for SAP Commerce Cloud.
Password
(Credential) Enter the client secret to retrieve the OAuth access token for SAP Commerce Cloud.
OAuth2TokenServiceURL
Enter the URL of the access token provider service for your SAP Commerce Cloud instance.
(Optional) cc.user.unique.attribute
This property defines by which unique attribute(s) an existing user in the target system will be searched and resolved in case Identity Provisioning tries to provision a conflicting user.
SAP Commerce Cloud supports the following unique attributes which are automatically filled in during system creation: emails[0].value, userName, externalId.
If the service finds an existing user by at least one of the unique attributes, it updates this user with the data of the conflicting one. If such a user is not found, the update of the conflicting user fails. If more than one users with these unique attributes are found, the update fails.
(Optional) cc.group.unique.attribute
If you try to provision a group that already exists in a target system, the group creation will fail. In this case, the existing group only needs to be updated.
This property defines by which unique attribute(s) the existing group will be searched and resolved. The default value is displayName.
If the service finds an existing group by this unique attribute, the group that you try to provision will overwrite the existing one. If such a group is not found, the group that you try to provision will not be created in the target system.
(Optional) cc.support.patch.operation
This property controls how modified entities (users and groups) in the source system are updated in the target system.
-
If set to true, PATCH operations are used to update users and groups in the target system.
-
If set to false, PUT operations are used to update users and groups in the target system.
Default value for target systems: false
(Optional) ips.delete.threshold.groups
Use this property to control the number of groups to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of groups, for example by adding a filter or condition.
For more information, see: List of Properties
(Optional) ips.delete.threshold.users
Use this property to control the number of users to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of users, for example by adding a filter or condition.
For more information, see: List of Properties
To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.
-
- Configure the transformations.
Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The Identity Provisioning offers a default transformation for the SAP Commerce Cloud target system, whose settings are displayed under the Transformations tab after saving its initial configuration.
You can change the default transformation mapping rules to reflect your current setup of entities in your SAP Commerce Cloud system. For more information, see:
Commerce Cloud SCIM Web Services API Documentation
To make group assignments via the user resource, you need to change the default transformation of the target system as described in Enabling Group Assignment.
Default transformation:
- Now, add a source system from which to read users and groups. Choose from: Source Systems.