cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Datasphere OData Consumption API for Analytic Model

CasCriel
Participant
0 Kudos
180

Dear community,

We are trying to consume the OData Endpoint of an analytic model. Because of Data Access Controls (DAC) applied to the underlying Fact View, we would also like to consume this data with an end users mail address/username. This way, based on the performer of the API Call, different data is pushed back.

When doing this in the browser, this works perfectly fine (see pictures).

However, we would like to use this data in a fiori application. For this, we want to automate the authorization flow but it seems like Datasphere is not accepting the token fetching in an automated way. Is there a way to login using client credentials OAuth?

Is this something related to the Client setup in Datasphere (Interactive/API Access?)

Kind regards,

Cas

Accepted Solutions (0)

Answers (1)

Answers (1)

irodin10
Explorer
0 Kudos

Hi CasCriel,

the documentation is quite specific, in that only authorization_code type flow is supported with Datasphere 0AUTH. (see https://help.sap.com/docs/SAP_DATASPHERE/9f804b8efa8043539289f42f372c4862/3f92b46fe0314e8ba60720e409...)
Hope that helps.
Best Regards,

Irvin.