Ansicht
Dokumentation

OAUTH2_SFSF_CLNT - Create an OAuth 2.0 Client Configuration

OAUTH2_SFSF_CLNT - Create an OAuth 2.0 Client Configuration

General Material Data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you create the OAuth 2.0 client in the back-end system.

  • The system administrator has authorization to create OAuth 2.0 client configurations. Namely, the system administrator has the authorization S_OA2C_ADM assigned, with at least activities 01, 02 and 03 in the AS ABAP system.
  • The system administrator's role includes the Web Dynpro application OA2C_CONFIG.

SAP delivers the following standard settings:

  • OAuth 2.0 client service provider type SUCCESSFACTORS (transaction OA2C_TYPES)
  • BAdI implementations for this service provider type (see notes)
  • OAuth 2.0 client profile for this service provider type
  • Authorization default values for the Web Dynpro application OA2C_CONFIG
  1. Run transaction OA2C_CONFIG to start OAuth 2.0 client configuration.
  2. Create a new OAuth 2.0 client.
  3. Choose service provider type SUCCESSFACTORS.
  4. Choose SUCCESSFACTORS as the OAuth 2.0 client profile.
  5. For the client ID, enter the API key of SAP SuccessFactors (from activity Register OAuth2 Client Application).
  6. Under Authorization Server Settings, for the Token endpoint, enter your endpoint in the format /oauth/token.
  7. Under Access Settings, make the following settings:
    1. Client Authentication: Form Fields
    2. Resource Access Authentication: Header Fields
    3. Grant Type: Enable the SAML 2.0 Bearer Assertion checkbox.
    4. SAML 2.0 Audience: www.successfactors.com
    5. SAML 2.0 Recipient: Enter your endpoint in the format https:// /oauth/token.
    6. User E-Mail for SAML2.0 Name ID: 000 (Note that this value will be overwritten by the user email at run-time.)
  8. Save the new OAuth 2.0 client configuration.

Notes:

  • Fields that cannot be edited are defined by the Business Add-In (BAdI) implementations that are delivered by SAP for the service provider type. These BAdIs are available in package SUI_BASIS and are listed on the Enhancement Settings tab in application OA2C_CONFIG.
  • Tab scopes: The SUCCESSFACTORS profile is assigned without scopes, as the SAP SuccessFactors API does not currently support scopes.






ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3914 Date: 20240523 Time: 190957     sap01-206 ( 40 ms )