2024 Feb 07 1:18 PM - edited 2024 Feb 07 2:32 PM
Trying to call a URL using destination. It is setup as OAuth2ClientCredentials with token url, client id and client secret.
It works from postman and also from test.http by getting bearer token.
But if called from BTP destination in CAP app - it does'nt work. It is returning - Unauthorized when run in debug or from terminal.
Request clarification before answering.
If you try to connect to the remote service from developing environment, you need to bind to xsuaa and destination services as described in the document below:
https://cap.cloud.sap/docs/guides/using-services#bind-to-remote-destinations
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.