cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up Oauth for my API built using cloud platform API management ?

RishiKhandelwal
Participant
0 Kudos

Hi,

I have built an API using ODATA service and tested it fine in the API portal. Now if i want to use this API's proxy url as endpoint in some other third party application , my understanding is that I have to set up Oauth for it using Auth. Endpoint and Token endpoint.

But when I try to create a new client , I am not sure about which subscription to use ?

Regards,

Rishi

Accepted Solutions (0)

Answers (2)

Answers (2)

ElijahM
Advisor
Advisor
0 Kudos

Hi Rishi,

As mentioned by Raghu below there are many ways to approach OAuth, but can you explain the reason you are looking to do OAuth? It is not necessarily a requirement for your API Proxy to be consumed by a 3rd party application, it is usually an optional approach.

Regards,
Elijah

former_member37862
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rishi,

You can use SAP Cloud Platform OAuth to protect any service/application running in SAP Cloud Platform, so you have to select the application/service you want to protect using OAuth in the Subscription.

Eg: if you have deployed the application demo in your account scpapim, then you can select scpapim/demo in the subscription.

Now looks like you want to protect the API and not the application/service, for this please follow the blog :

OAuth with SAP API Management (HCP) – Part 1

OAuth with SAP API Management (HCP) – Part 2

Screenshot in the above blogs might be little different than current screens

Regards,

Raghavendra Kulkarni