For end users to be able to verify whether they can access the service provider API,
they must create an OAuth 2.0 access token for their service provider. To do this, use the
transaction OA2C_GRANT.
Context
Perform the following steps:
Procedure
- Open SAP GUI.
- Start the transaction
OA2C_GRANT.
- Select the OAuth 2.0 client you configured earlier.
- Choose Request OAuth 2.0 Tokens.
The AS ABAP sends an access token request to the service provider. End users are
prompted to authenticate at their user accounts with the service provider. The
service provider might ask the OAuth 2.0 client to authorize against the
respective application that is referenced by the OAuth 2.0 scope.
- Confirm the authorization.
A green indicator in the Access Status column tells you that
an access token and a refresh token have been issued, and access to the
application is thus allowed.