SAP Knowledge Base Article - Preview

3804393 - OAuth2ClientCredentialsAuthenticationProvider does not return scope when the scope is not provided in the request

Symptom

  • OOTB class OAuth2ClientCredentialsAuthenticationProvider does not return scope attribute when the request does not contain scope attribute.
  • The client expects "scope" to be present in the response (for example, "basic").


Read more...

Environment

  • Product: SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

client_credentials, scope missing, OAuth2, token response, authorization server, OCC, SAP Commerce Cloud, default scope, CustomAuthenticationConverter, Custom Token Granter, iOS crash, grant_type, RegisteredClient, scope basic, OAuth token , KBA , CEC-SCC-COM-BC-OCC , Commerce Web Services - OCC , Product Enhancement

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.