Identity Authentication

Follow this procedure to set up SAP Cloud Identity Service – Identity Authentication as a target 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 target system, as described in step 3.

Context

Identity Authentication provides authentication and single sign-on for users in the cloud.

Using Identity Provisioning, you can read corporate users from on-premise or cloud systems, and provision them to the Identity Authentication user store. This way, you can implement secure authentication, single sign-on (SSO), strong authentication and mobile SSO so that the provisioned users have access to the business applications of your company. For example, you can implement two-factor authentication and mobile SSO for SAP SuccessFactors users.

You can use the Identity Provisioning UI to configure Identity Authentication as a target system where you can provision users, groups and group members. The target system consumes SCIM 2.0 API provided by Identity Authentication.

There are two versions of the Identity Authentication SCIM API. They are controlled 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 Identity Provisioning UI after versioning was introduced on July 9, 2021.

    SCIM API version 2 does not support managing of group assignments via the SCIM user resource. The "groups" attribute of the user is read-only. This means that the user group assignments should be managed via the SCIM group resources using the "members" attribute (as it is defined by the SCIM standard). 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 target system, proceed as follows:

Procedure

  1. Access the Identity Provisioning UI.
  2. Add Identity Authentication as a target system. For more information, see Add New Systems.
  3. Set up the communication between Identity Provisioning and Identity Authentication and configure your authentication method (basic or certificate-based).
    1. In your newly added Identity Authentication target 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 the Identity Provisioning UI on the previous step.

    3. Save your changes.
    4. Make sure Manage Users and Manage Groups authorization roles are enabled for the technical user. This way, you can create, edit and delete users and groups in 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 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.unique.attribute

    This property defines by which unique attribute(s) an existing user will be resolved in the event of conflicting users. It appears by default when the system is created, and its value is set to userName.

    Other possible values:

    • emails[0].value

    • userName,emails[0].value

    • phoneNumbers[0].value

    • externalId, or another SCIM attribute, or a conjunction of SCIM attributes

    If the service finds a user on the target system through this filter, then the conflicting user will overwrite the existing one. If the service does not find a user on the target system through this filter, the creation will fail.

    For more information, see: List of Properties

    ips.failed.request.retry.attempts

    Predefined value: 2

    ips.failed.request.retry.attempts.interval

    Predefined value: 60

    (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

  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 target system, whose settings are displayed under the Transformations tab after saving its initial configuration.

    When Identity Authentication is configured as a target system, the default transformation logic writes all the user attributes in 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.

    SCIM API version 1: Identity Authentication: SCIM REST API

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

    When Identity Authentication is configured as a target system, the default transformation logic:

    • Reads all user attributes from the intermediate SCIM representation.

    • Skips some of the attributes from the identity records.

    This way, the transformation logic ensures that the identity data, sent to the Identity Provisioning SCIM REST API, is consistent.

    Default transformation for SCIM API version 1:

    Default transformation for SCIM API version 2:

  6. Add a source system from which to read users and groups. Choose from: Source Systems

    If you have configured the email attribute to NOT be unique in Identity Authentication, then ignore this Caution note and the guided answer. For more information about configurable attributes, see: Identity Authentication: Configure User Identifier Attributes

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.