Identity Authentication

Follow this procedure to set up SAP Cloud Identity Service – Identity Authentication as a source system.

Prerequisites

To establish the connection between Identity Provisioning and Identity Authentication, you need to set up the technical user (of type System) in Identity Authentication and assign this user the necessary authorizations. You have the option to do it either now, as a prerequisite, or while configuring Identity Authentication as a source system, as described in step 3.

Context

Identity Authentication provides authentication and single sign-on for users in the cloud. The user store of Identity Authentication can manage different type of users (employees, partners, customers and public) as well as groups. Using Identity Provisioning, you can read those users (self-registered, imported, or manually created) and groups and provision them to various target systems.

For this, you need to configure the Identity Authentication as a source system in the Identity Provisioning UI. This source system consumes SCIM 2.0 API provided by Identity Authentication.

There are two versions of the Identity Authentication SCIM API. They are handled by the ias.api.version property as follows:
  • When the value is set to 1 or the property is not defined (typical for systems created before versioning was introduced on July 9, 2021) - Identity Authentication SCIM API (in short, SCIM API version 1) is used.

  • When the value is set to 2 - Identity Directory SCIM API (in short, SCIM API version 2) is used. This value is set automatically for all manually created systems in the as a source system. For more information, see Identity Provisioning UI after versioning was introduced on July 9, 2021.

    SCIM API version 2 is enhanced to support paging for group members and user’s groups, custom attributes, delta read mode for users. Also, the group resource mapping in the transformation is not ignored by default, as it is in SCIM API version 1.

To create Identity Authentication as a source system, proceed as follows:

Procedure

  1. Access the Identity Provisioning UI.
  2. Add Identity Authentication as a source system. For more information, see Add New Systems.
  3. Set up the communication between Identity Provisioning as a source system and Identity Authentication and configure your authentication method (basic or certificate-based).
    1. In your newly added Identity Authentication source system, select the Certificate tab and choose Start of the navigation pathGenerate Next navigation step DownloadEnd of the navigation path, as described in Manage Certificates.

      Skip step a. if you want to use basic authentication.

      In SAP Cloud Identity Services administration console, perform the next steps. They are relevant for both basic and certificate-based authentication.

    2. Add System as administrator and provide the respective credentials.

      For basic authentication, provide a password. The user ID will be generated automatically when you set the password for the first time.

      For certificate-based authentication, upload the certificate you have generated in SAP Cloud Identity Services administration console on the previous step.

    3. Save your changes.
    4. Make sure Manage Users (or at least Read Users) and Manage Groups authorization roles are enabled for the technical user. This way, you can read users and groups from the Identity Authentication user store.
  4. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Description & Value

    Type

    Enter: HTTP

    URL

    Specify the URL of the Identity Authentication tenant of your company.

    For example: https://mytenant.accounts.ondemand.com

    ProxyType

    Enter: Internet

    The Identity Authentication service is a cloud solution and is outside of your company on-premise infrastructure.

    Authentication

    Enter your authentication method:

    • BasicAuthentication

    • ClientCertificateAuthentication

    User

    Valid if BasicAuthentication is configured as authentication method.

    Enter the Client ID (previously User ID) of the Identity Authentication technical user. It is generated automatically for the administrator of type system, when choosing Start of the navigation pathSecrets Next navigation step Add Next navigation step  SaveEnd of the navigation path. For example: 1ab7c243-5de5-4530-8g14-1234h26373ab

    If your technical user was created before January 2020, enter the T-user. For example: T000003

    Password

    (Credential) Valid if BasicAuthentication is configured as authentication method.

    Enter the Client Secret (previously Password) of the Identity Authentication technical user. It is generated automatically for the administrator of type system, when choosing Start of the navigation pathSecrets Next navigation step Add Next navigation step  SaveEnd of the navigation path.

    Optional Properties

    Property Name

    Description & Value

    • ias.<property_name>

    • scim.<property_name>

    When using SCIM API version 2, property names start with ias prefix, for example: ias.user.unique.attribute.

    When using SCIM API version 1, property names start with scim prefix, for example: scim.user.unique.attribute.

    For more information, see List of Properties. Use the main search or filter properties by Name or System Type columns.

    ias.user.filter

    When specified, only those users matching the filter expression will be read.

    For example: name.familyName eq "Smith" and addresses.country eq "US"

    This filter will read only users whose name is "Smith" and are living in the United States.

    For more information, see Identity Directory SCIM API: User SearchInformation published on SAP site.

    ias.group.filter

    When specified, only those groups matching the filter expression will be read.

    For example: displayName eq "ProjectTeam1"

    This filter will read only groups, whose display name is "ProjectTeam1".

    For more information, see Identity Directory SCIM API: Group SearchInformation published on SAP site.

    ips.failed.request.retry.attempts

    Predefined value: 2

    ips.failed.request.retry.attempts.interval

    Predefined value: 60

    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.

  5. (Optional) 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 Identity Authentication source system, whose settings are displayed under the Transformations tab after saving its initial configuration.

    When Identity Authentication is configured as a source system, the default transformation logic reads all the user attributes from the Identity Authentication user store. The logic is provided by the Identity Authentication SCIM REST API, which then maps the attributes to the internal SCIM representation.

    Handling Application-Specific Groups

    In case you want to provision application-specific groups between the following pairs of provisioning systems:

    Source System

    Target System

    Identity Authentication (SCIM API version 2)

    Identity Authentication (SCIM API version 2)

    Identity Authentication (SCIM API version 2)

    Local Identity Directory

    Local Identity Directory

    Identity Authentication (SCIM API version 2)

    The Identity Provisioning will search and try to resolve the groups by the attribute values of displayName, applicationId, and type. To ensure successful provisioning, you must define value mappings for the attribute applicationId in the transformation mappings of the source or the target system. You should define to which applicationId in the target system will be mapped the applicationId read from the source system.

    For example:

    {
    "sourcePaths": [
    	"$['urn:ietf:params:scim:schemas:extension:sap:2.0:Group']['applicationId']"
    ],
    "targetPath": "$['urn:ietf:params:scim:schemas:extension:sap:2.0:Group']['applicationId']",
    "valueMappings": [
    	{
    		"key": [
    			"<your_source_system_applicationId>"
    		],
    		"mappedValue": "<your_target_system_applicationId>"
    	}
        ],
        "condition": "$['urn:ietf:params:scim:schemas:extension:sap:2.0:Group']['applicationId'] EMPTY false",
        "type": "valueMapping",
        "defaultValue": ""
    }

    For more information, see Transformation Expressions → section valueMapping.

    You can change the default transformation mapping rules to reflect your current setup of entities in your Identity Authentication system. For more information, see: Manage Transformations

    SCIM API version 1: Identity Authentication: SCIM REST API

    SCIM API version 2: Identity Directory SCIM APIInformation published on SAP site

    Default transformation for SCIM API version 1:

    Default transformation for SCIM API version 2:

  6. Add a target system where to provision users and groups. Choose from: Target Systems

Next Steps

  • Before starting a provisioning job, you can first subscribe for e-mail notifications from the source system you use in your scenario. This way, you will be notified by e-mail about eventual failed entities during the jobs. For more information, see Manage Job Notifications.

  • Start an identity provisioning job. For more information, see Monitor Provisioning Job Logs.