-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Hi Experts,
I have a problem with the getDestination Method of the package @sap-cloud-sdk/connectivity version 3.18.0.
Every time when i try to call my endpoint of my CAP API with my service broker user, I get the following issue:
2024-08-14T13:15:51.31+0000 [APP/PROC/WEB/0] ERR [cds|317255b8-e617-4762-b58d-73c78ae07d8f] - Error: Could not find XSUAA service binding matching the token.
The construct is the following:
- It is a multitenant application
- For the API is a Service Broker bound and subscribed on the subscriber subaccount
- Key is created for the credentails to get access to the service technically
So what I want to achieve is to read the subscriber subaccount destination details with the technical user directly on the request.
On the version 3.15.0 it is still working. Keep in mind that this is a multitenant scenario.
Steps to reproduce the behavior:
- Create Service Broker on Subscriber Sub Account
- Read Client ID & Creedentails
- Execute http script which gets JWT-token first
- Execute http script with token request on service
I Attach the files for the sourcecode and also for the error which will occure.
Application Versions:
- Node version: v20.16.0
- NPM version: 10.8.1
- SAP Cloud SDK: @sap-cloud-sdk/connectivity version 3.18.0
Impact / Priority
Only wanted to let you know that it is not working as expected.
It will be a problem in the future because if it is not fixed I need to stay on the version 3.15.0 in each of my implementations.
So when I want to publish a new version I would be happy if it is fixed.