Defining Identity Providers and Federation

Objective

After completing this lesson, you will be able to describe how identity providers and federation enable secure, acentralized user authentication.

Identity Federation

To log on to SAP BTP, you require a user. The user data itself is not stored on the SAP Business Technology Platform.

SAP BTP supports identity federation, a concept of linking and reusing digital identities of a user base across loosely coupled systems. Identity federation frees applications on SAP BTP from the need to obtain and store the credentials of users to authenticate them. Instead, the application user base is reused from identity providers, which supports the administration of digital user identities, authentication, and authorizations in a centralized and decoupled manner.

The identity provisioning flow differs for every environment of SAP BTP, but the general concepts remain the same.

A user on SAP BTP corresponds to a user in an identity provider. It consists of a user ID and password.

Global Account containing Subaccount; both integrate with external Identity Provider (admin and user icons shown), bidirectional arrows indicate trust/authentication links.

Identity Providers for SAP BTP

To work with SAP BTP cockpit, you require a valid platform user. Users of an application deployed on SAP BTP are business users.

All users of SAP BTP are stored in identity providers, either in the default identity provider, which is the SAP ID service, the SAP Cloud Identity Services – Identity Authentication, or an integrated third-party identity provider.

Platform users use Default IdP or Identity Authentication; business users use Identity Authentication or third‑party IdP; arrows show authentication pathways.

Note

For the China region, a different default identity provider is used.

For more information, see this blog post: Activate TOTP Two-Factor Authentication for Platform Users of SAP BTP in Alibaba Cloud Regions.

SAP ID Service

SAP ID service is the default identity provider. The trust relationship with SAP ID service is configured by default, so it doesn't require any further configuration. This service is fully managed by SAP. Users then log on to the SAP BTP Cockpit with their SAP ID Service user credentials (typically SAP Universal ID). If the user doesn't have an SAP user account, it must first be created in the SAP ID service. Users from the SAP ID service are identified by their e-mail address and not their user ID. If you have multiple user accounts that share the same e-mail address, they all get the same authorizations. SAP ID Service can only provide users whereas custom identity providers can also provide user groups too.

Hint

Use SAP ID service as a preconfigured user store in your starter scenarios or for testing. You can also use the default identity provider as a backup identity provider if access to your custom identity provider fails.

SAP Cloud Identity Services – Identity Authentication

Instead of SAP ID Service, you can use the SAP Cloud Identity Services – Identity Authentication. It can be used as an identity provider where you can manage your own user base. SAP Cloud Identity Services – Identity Authentication can be used for both platform and business users.

For more details, see Initial Setup of SAP Cloud Identity Services.

To use Identity Authentication as the identity provider, you must request an Identity Authentication tenant. This is done via a ticket. The tenant will be assigned to your Global Account. The Identity Authentication tenant can then be used directly as an identity provider with its own user store or as a central hub.

To use Identity Authentication for the platform users in the Global Account, you must establish a trust relationship between the Global Account and the IAS tenant. To use it for a Subaccount, you must establish trust between the Subaccount and IAS tenant. You can configure each of your Subaccounts to use other identity providers. This feature is configurable in the SAP BTP cockpit. This has to be done for each Subaccount because applications and services are deployed in Subaccounts. In this way, administrators can ensure that users stored in an identity provider, only have access to the Subaccounts or applications they require.

Third-Party Identity Providers

Next to the use of the SAP ID service and the SAP Cloud Identity Services, you can configure a third-party identity provider, such as Azure AD, which hosts your corporate user store. This means that you have full control over your user base. This can be any identity provider that supports SAML 2.0 or the OpenID Connect (OIDC) protocol. Using the OpenID Connect protocol is the recommended approach.

For configuring your custom identity provider, you have to configure a trust relationship. This is done manually by exchanging metadata files between the SAP BTP and the identity provider. For more information, you can have a look into the following SAP tutorial: Enable SSO Using Identity Authentication Service or just have a look into the documentation: Bringing Your Corporate Identity Provider for Platform Users

Note

We recommend that you always use SAP Cloud Identity Services as single identity provider for SAP BTP. If you use corporate identity providers, connect them to your SAP Cloud Identity Services tenant, which then acts as a hub. We especially recommend this if you are using multiple corporate identity providers. For platform users, the use of SAP Cloud Identity Services is mandatory. For more information, see: Corporate Identity Providers

Summary

  • Global accounts manage subaccounts, services, quotas, and platform resources for enterprise governance.
  • Initial Global Account Administrator assignment goes to welcome email recipients, who grant roles to additional users.