Hi all,
We need to create a number of APIs in the SAP API Management Cloud.
For some of them, it may be the case that the user is or is not logged in to SAP CDC when the call is made.
If the user is not logged in, we want to use OAuth2.
If the user is logged in, we want to use the SAP CDC JWT token, with all the logic that implies.
I understand that the only way to do this is to duplicate the APIs, so that the front-end will have to point to one endpoint when it has to make the call with OAuth2 authentication and to another endpoint when it has to do it with the JWT token, correct?
I mean, it is not possible to offer both authentication options for the same endpoint, is it?
Thanks and kind regards,
Judit