SAP Knowledge Base Article - Public

3533410 - Consuming Data Exposed by Datasphere using OAuth2 "API access" does not work

Symptom

Retrieving Datasphere objects using the OAuth2 Client "API access" mode does not work when trying to retrieve space information or retrieving any Datasphere related object information

Environment

SAP Datasphere

Reproducing the Issue

  1. Create a OAuth2 Client with "API Access" 
  2. Retrieve the token and try to retrieve space information. There is an error.

Resolution

OAuth2 Client "API access" is a two legged approach where the user does not have to use the browser to get an authorization token. In Datasphere this type of OAuth2 client cannot be used for retrieving Datasphere objects. It is only used for Scim 2.0 API access as well as any SAC related functionality. On what type of OAuth2 client is supported by Datasphere for Data retrieval is documented under Consuming Data via ODATA API as a Note. 

See Also

Keywords

API Access, OAuth2, SCIM2, scim 2.0, Interactive Usage, CLI, ODATA, space , KBA , DS-DI-CON , Connections , DS-API-CLI , SAP Datasphere Command-Line Interface , Problem

Product

SAP Datasphere 1.0