cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement OAuth 2.0 for Extensions in SAP CDC

Vrishabh
Explorer
0 Kudos
58

Hi Experts,
Our client is trying to connect with AIS (Azure integration service) via Extension for SMS OTP use-case. The 3rd party SMS provider connection is already established in AIS.
We are triggering OnBeforeSendSMS to the AIS endpoint.
Client requirement: CDC should hit the AIS endpoint with OAuth 2.0 protocol. This means, CDC should get a bearer token from AIS to access the endpoint.
Similarly, we need to connect with AIS via webhook for contact updates and client is expecting similar method to establish the connection.
Could you please suggest any way or method to achieve this?

Thank you,
Vrishabh.

View Entire Topic
KunalBansal
Active Contributor
0 Kudos

Hi @Vrishabh ,

I can only think of trying the dataflow to add logic (javascript code) to retrieve tokens after fetching the OAuth2.0 tocken which you include in authorization header of request.

I hope this answers your query.

Thanks and Regards,
Kunal Bansal
SAP CX Solution Architect