SAP Knowledge Base Article - Preview

3572440 - How to manage incorrect Bearer Tokens using policies in API Management

Symptom

When configuring OAuth2ClientCredentials, the target OAuth provider might return an incorrect bearer token format, causing a failure in the API Proxy.

For instance, if you have configured a destination with the OAuth2ClientCredentials authentication type, it may return an access token with the incorrect prefix 'BearerToken XXXXX' instead of the expected 'Bearer XXXXX'.


Read more...

Environment

  • API Management
  • SAP Integration Suite

Product

API Management all versions ; SAP Integration Suite all versions

Keywords

Oauth, bearer, bearer token, OAuth2ClientCredentials, API Proxy, policies, policy, OAuth v2.0, Assign Message, APIM, API Management, Integration Suite , KBA , OPU-API-OD-DT , Designtime , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.