on 2024 Aug 28 9:57 PM
I have a Build Apps application where I need to send a data to a BTP Destination, which is a Kyma Serverless function. I am not able to perform the actions I want in build apps, so I need to process the sent data in kyma, then return the response.
In the Kyma Serverless function, I need to call the destination (which is Sales and Service Cloud Version 2) via destination configuration API, to get the OAuth SAML Bearer token of the relevant services. Normally this would be possible by placing X-user-token to header.
Build Apps automatically authenticates the user with the standard function flow, and I am able to access the mentioned Sales and Service Cloud Version 2 destination. My question is, how I can also pass this user token to my custom function?
Note: I am also open to any other suggestion, as long as the user is able get authenticated.
Request clarification before answering.
I'm not really an expert here, but when the backend needs to know the user, we usually use a destination with UserTokenExchange, and the current BTP user is sent so as long as the backend accepts the BTP user all is fine.
Or are you making a separate request to get the user token?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.