Configure an OAuth client in SAP

task australia Updated Sep 10, 2026 1 min read configure-oauth-client-sap.md
Raw file servicenow.com

Register and configure an OAuth 2.0 client in SAP using the system user created for OAuth authentication, to enable secure data exchange with your ServiceNow instance.

Before you begin

A system user for OAuth authentication must exist in SAP before configuring the OAuth client. For details, see Create a system user for OAuth authentication in SAP.

SAP Role required: SAP Basis administrator

About this task

Use transaction code SOAUTH2 to register the OAuth client and define the grant types, redirect URI, and scopes required for the integration.

Procedure

  1. Open transaction code SOAUTH2 in your SAP system and select Create.

  2. In the Client ID field, select the system user created for OAuth authentication.

    For example, OAUTH_USER. For information on creating a system user, see Create a system user for OAuth authentication in SAP.

  3. Enter a description for the OAuth client, then select Next.

  4. On the Grant Types screen, fill in the fields.

    Field Value
    SAML 2.0 Bearer Clear this option.
    Authorization Code Select this option.
    Redirect URI The redirect URI for your ServiceNow instance.
    Refresh Allowed Select this option to enable refresh.
  5. Select Next.

  6. Define the following scopes for the OAuth client.

    • /NOW/ODATA_VALIDATE_REFRESH_SRV_0001
    • /NOW/ODATA_PULL_DATA_SRV_0001 [Omitted image "sap-config-oauth-client.png"] Alt text: OAuth 2.0 configuration page on SAP portal
  7. Select Finish and then select Save.

What to do next

Configure roles and authorizations for the OAuth user. For details, see Configure roles and authorizations for the OAuth user.

Parent Topic:Set up SAP integration to establish a connection with SAP

Keywords OAuth clientSOAUTH2SAP OAuth configurationOAuth scopes
Search documentation
Search document titles and file paths on the australia branch