cancel
Showing results for 
Search instead for 
Did you mean: 

Generating OAuth Client in SAC, how do we make our tenant to specify Client Id and Client Secret

100361466722
Explorer
0 Kudos
125

Hi Everyone,

In our SAP Analytics Cloud tenant, we see only option to generate automatically Client Id and Client Secret while creating OAuth Client. And we are able to generate the access token for API usage.

But we observed for one of our customer, having their SAC application, where they can manually specify the Client ID and Client Secret, because of this reason, token is not being generated and getting the error "

Unexpected response code received: 401. Details:
{"error":"unauthorized_client"}

I basically wanted to know, token generation functionality varies based generating client id and secret Vs manually specifying client id and secret ?  Or do we need to follow any rules while manually specifying client id and client secret ? 

Any help on this regard would be really helpful.

Thanks,

Sreedhar Rusuma

 

View Entire Topic
mfoeken
Active Contributor
0 Kudos

Dear Sreedhar,

I believe that the client ID and secret is always auto-generated, at least for any new OAuth clients that are created. In the pas it was possible to view the secret but that is not possible anymore. Do you know for sure that the right URL is being used to call the OAuth client in SAC?

Kind regards,
Martijn van Foeken | Interdobs

100361466722
Explorer
0 Kudos
Hi Martijn, Even I was under same impression. But I went on a call and observed that, they dont have auto generation at all. Only option to manually specify. One observation is that is SAP Analytics Cloud - Production. As such I wanted the same confirmation, whether this varies based on license or any configuration. Thanks.
100361466722
Explorer
0 Kudos
Hi Martijn, I came to know that if the SAP Analytics Cloud is hosted on SAP Datacenter, we will get the Client Id and Client Secret to be specified manually. If the SAC is hosted on Non-SAP Datacenter, they are automatically generated. But now I am looking for information, token generation functionality varies based on SAP Datacenter or Non-SAP Datacenter Client ID and Secrets.