Create an OAuth2.0 Client with a Technical User Purpose

Users with an administrator role can create OAuth2.0 clients with a technical user purpose and provide the client parameters to users, giving them limited privileges and permissions when connecting clients, tools, or apps to SAP Datasphere.

Context

An OAuth client with a Technical User purpose provides restricted access to the tenant based on the roles you assign to it. You can assign one or more:
  • Global roles - To provide global privileges.

  • Scoped roles - To give access to one or more spaces and provide privileges in those spaces.

You create an OAuth2.0 Client with a Technical User purpose:

Procedure

  1. In the side navigation area, select (System) Start of the navigation path Next navigation step End of the navigation path (Administration) Start of the navigation path Next navigation step App IntegrationEnd of the navigation path.
  2. Under Configured Clients, select Add a New OAuth Client.
  3. In the dialog, enter or review the following properties as appropriate:

    Property

    Description

    Name

    Enter a name to identify the OAuth client.

    OAuth Client ID

    [read-only] Displays the ID once the client is created.

    Purpose

    Select Technical User.

    User ID

    Enter an ID for the technical user associated with the OAuth client. The ID must be unique just like for any user. It can only contain uppercase letters, numbers, and underscores and its maximum length is 20 characters.

    Roles

    Assign one or more roles (global or scoped) to the user. To do so, click Select Roles, then select one or more roles and click OK. See Managing Roles and Privileges.

    Authorization Grant

    [read-only] Client Credentials is automatically selected and cannot be changed.

    Secret

    [read-only] Allows the secret to be copied immediately after the client is created.

    Expiry Date

    Choose when the OAuth client will expire, from a minimum of 7 days to a maximum of 20 years.

    Default: 3 months

    Token Lifetime

    Choose a lifetime for the access token from a minimum of one hour to a maximum of one day.

    Default: one day

  4. Click Add to create the client and generate the ID and secret.
  5. Copy the secret, save it securely, and then close the dialog.
  6. Provide the following information to users who will use the client:

    Standard OAuth2 Authorization Flow

    OAuth2SAMLBearer Principal Propagation Flow

    • Client ID

    • Secret

    • Token URL

    • Client ID

    • Secret

    • OAuth2SAML Token URL

    • OAuth2SAML Audience

Next Steps

Once the OAuth client has expired, a red exclamation mark icon is displayed in the App Integration page. To use the OAuth client once it has expired, you can extend its expiry date and click Save. A new secret is generated, which you must copy and save securely before you close the dialog.