cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 Application to Pass User ID on headers to external API through destination

vinoth_sukumar
Explorer
0 Kudos

Hi,

I'm looking to call an external API from a UI5 application in BTP and the requirement is to pass the user ID to the headers/query parameters or body of the API.

But, we need to make this user ID being passed without being visible in the console of the browser.

API works based on basic authentication which is configured on the destination.

Is there a way to achieve this?

I'm wondering if any additional properties in the destination could help to pass the user Id or email to the API, that way front-end app or the browser won't know about the details.

Please share.

Thanks,

Vinoth

gregorw
Active Contributor
0 Kudos

Are you using standalone or managed approuter to serve the application?

vinoth_sukumar
Explorer
0 Kudos

Hi Gregor,

It is a standalone application.

Thanks,

Vinoth

View Entire Topic
shahidkakkat
Explorer
0 Kudos

Hi Vinoth,

I am also trying to send user ID to external API,Can you please let me know how you solved this ?

Thanks