Configure OAuth 2.0 Authentication
Enable OAuth 2.0 authentication in SAP API Management so external consumers can securely obtain and use access tokens when calling iCWP APIs.
To enable OAuth authentication for an API Proxy, configure the following activities:
-
Create an OAuth Token API Proxy – define the token endpoint using an OAuth v2.0 policy in GenerateAccessToken mode.
-
Create the actual API Proxy – secure it with a VerifyOAuthToken policy and configure backend authentication.
-
Publish the API as a Product and create an Application – generate the Client ID and Client Secret needed for token requests.
-
Test the OAuth flow – generate a token and invoke the iCWP API with it.