Migrating from SAML to OpenID Connect Protocol

Follow these steps to use the tool specific to SAP Integrated Product Development to migrate your SAML trust to OpenID Connect trust.

Context

It is mandatory for you to use SAP Cloud Identity Service - Identity Authentication as your identity provider for SAP Integrated Product Development. In the past, it was possible to create a SAML trust configuration. However, a new method for establishing trust has been introduced: the OpenID Connect protocol.

To migrate from SAML to OpenID Connect trust, you have two options:

  • Follow the manual process as documented by SAP Business Technology Platform.

  • Use the migration tool specific to SAP Integrated Product Development as described in this document.

Procedure

  1. Before you decide which option to follow, carefully read the documentation that is provided by SAP Business Technology Platform to understand why the migration is needed and how it can be accomplished manually, especially if you have third-party IdP software. That information is available here: https://help.sap.com/docs/btp/sap-business-technology-platform/migration-from-saml-trust-to-openid-connect-trust-with-identity-authentication.
  2. After you read the SAP Business Technology Platform documentation and you decide to use the migration tool specific to SAP Integrated Product Development, ensure that you have a subscription to the Common Functions SaaS application and that you have configured the necessary destination for APIs of the SAP Authorization and Trust Management service.

    Based on the configurations on each consumer account's Security – Trust Configuration page, under the Custom Identity Provider for Applications section, there are three situations to distinguish:

    If you use the Collaboration, Specification Management, or Visualization SaaS application, it is mandatory to set up this EPD_XSUAA_API destination. For more information, see Configuring Connectivity for Common Functions.

  3. Access SAP Note 3468581 Information published on SAP site to get the URL for the migration tool.
  4. Open the tool and paste your credentials from the destination from step 2 for the connection to the APIs of the SAP Authorization and Trust Management service into the respective input field and choose Set Credentials.

    The tool calls GET /sap/rest/identity-providers from Identity Provider Management API to get your current trust configuration lists. It then displays different options depending on the information that is returned. For example, if the tool finds multiple IAS with the SAML2 configuration, then it allows you to select one for the migration.

    If the tool detects a problem, an error message is displayed. Follow the instructions in the message.

    For more information about the Identity Provider Management API, see https://api.sap.com/api/TrustConfigurationAPI/overviewInformation published on SAP site the API documentation on the SAP Business Accelerator Hub.

  5. Select the custom identity provider candidate for which the trust should be migrated.

    If you have only one provider using SAML, the name of that provider is already displayed here. If you have multiple candidates, you must select one.

  6. Optional: Enter a description for the trust configuration to be displayed to your business users.
  7. Optional: Enter a link text to be displayed.
  8. Start the migration.

    The tool calls PUT /sap/rest/identity-providers/migrate/ to carry out the migration.

Results

When the migration is complete, the tool has created trust with OpenID Connect for the selected tenant. The original SAML2 trust is now inactive. The origin key value is oidc-migration-backup. If necessary, you can restore the original setup from it.

You must now complete the follow-on steps that are described here: Configuration of Identity Authentication After Migration from SAML to OIDC.