Show TOC

Procedure documentationSetting Up an OAuth 2.0 Client

 

You want to access resources in an application that is OAuth 2.0 enabled. For this application, you need a registered OAuth 2.0 client as the accessing component. The OAuth 2.0 client has a dedicated unique user in the AS ABAP of the user type System. If this user does not exist, create it in your AS ABAP.

This registered OAuth 2.0 client represents an OAuth 2.0 enabled application which is then able to access the user's resources on behalf of the user.

Prerequisites

The user who is used to create the OAuth 2.0 client needs the authorization object S_OA2_CL. This authorization object allows you to create, change, display, and delete an OAuth 2.0 client.

Procedure

To create a new client, proceed as follows:

  1. Start the OAuth 2.0 administration by entering the transaction SOAUTH2.

  2. Choose the Create button. The wizard for the creation of OAuth 2.0 clients opens.

  3. To set the relevant parameters, follow the steps of the wizard.

Recommendation Recommendation

We recommend that you name the OAuth 2.0 client ID in a way that indicates the application using this client to access resources.

End of the recommendation.

More Information

For an overview of the parameters and values, see Parameters for OAuth 2.0 Administration.