Skip to Content
0
Jul 30 at 08:46 PM

oAuth2TokenExchange on a CAP + Fiori Application

143 Views Last edit Jul 30 at 08:52 PM 3 rev

Hello SAP Community.

I have some questions about this oAuth2TokenExchange authorization method. We are trying to connect our CAP application , secure it using oauth2TokenExchange and then it has to be consumed by our FIORI application.

Scenario:

- SAP BTP

- CAP APP , Ready to be consumed

- FIORI APP + Launchpad

We have added security to a CAP application (auth strategy JWT), then we configured it in our destination in SAP BTP.

We have configured the oAuth2TokenExchange method to finally (CAP APP) be consumed as an API for our FIORI application.

For now our destination is configured as follows:

And we get the following response:

We don't know what we are doing wrong , or if we are missing steps to create and configure something like this.

Can you share an example of how to use oAuth2 Token exchange in a BTP Foundry destination to create the configurations and consume the API? Any help is welcome. Thanks in advance!

PS: We have been using NEO examples without any luck , we are searching for a updated tutorial if possible!

Attachments

screenshot-1.png (113.9 kB)
screenshot-2.png (114.7 kB)