Skip to content
Release: Australia · Updated: 2026-05-12 · Official documentation · View source

Configure an OAuth client in SAP

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.

    FieldValue
    SAML 2.0 BearerClear this option.
    Authorization CodeSelect this option.
    Redirect URIThe redirect URI for your ServiceNow instance.
    Refresh AllowedSelect 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
Image omitted: sap-config-oauth-client.png
OAuth 2.0 configuration page on SAP portal
  1. 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.