SAP / cloud-security-services-integration-library

Integration libraries and samples for authenticating users and clients bound to XSUAA authentication and authorization service or Identity authentication service.
Apache License 2.0
151 stars 135 forks source link

How to consume remote service via destination service #195

Closed navinkrishnan closed 4 years ago

navinkrishnan commented 4 years ago

Hi @nenaraab

Continuing, because the issue got closed

https://github.com/SAP/cloud-security-xsuaa-integration/issues/191

Consider a situation, where the particular backend is offered as Odata Service (Let's say deployed in different account) and people can add it as destination and consume in the UI. In such scenario, how they can bind to the same service instance ?

How to deal with this scenario ?

Regards Navin

nenaraab commented 4 years ago

Hi @navinkrishnan,

of course, in case you like to connect to a remote service this needs to be realized with so-called destination service. Find further information about that here: https://blogs.sap.com/2018/10/08/using-the-destination-service-in-the-cloud-foundry-environment/

Furthermore, the Cloud SDK does support Client Credentials Authentication for connecting to a destination. Its implementation heavily relies on the platform Destination Service. The online documentation lists Client Certificate Authentication as one of its supported features. For a complete overview visit the SAP Cloud SDK Overview.

Best regards, Nena