Skip to Content
May 10, 2020 at 11:18 AM

How to give oAuth2.0 details in SAP UI5 application to access data from an API


Hi Experts,

I would like to get the data from a rest API (SAP Cloud platform) to the UI5 application.

How to call API using oAuth2.0 details like client ID and Secret. I am able to get the data in the postman.

Also how UI5 code will generate new access token every time.

Your response will be appreciated.


Vamshi Krishna.