You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to retrieve a dataset or catalog of datasets we use CatalogApiController
that just requires x-api-key.
However it seems that the request is internally dispatched
to DspCatalogApiController that a) requires an auth token b) the results are filtered based on what policy engine returns
The auth token is the token of Connector A and contains connectorCountry: Greece
So we have the following scenario, I create an offer X in Connector A with an "access policy" that has a constraint (connectorCountry EQ Germany), because I want only Connectors from Germany to have access to the Offer
However according to the aforementioned flow [request -> CatalogApiController -> DspCatalogApiController] I can't retrieve my own
offer X, it is filtered by the policy engine. Only Connectors from Germany are able to get it. So is there a way (endpoint) to retrieve all my offers e.g. without passing through the DspCatalogApiController and the policy engine.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Tested with EDC 0.7.0 and previous releases
When we try to retrieve a dataset or catalog of datasets we use CatalogApiController
that just requires x-api-key.
However it seems that the request is internally dispatched
to DspCatalogApiController that a) requires an auth token b) the results are filtered based on what policy engine returns
The auth token is the token of Connector A and contains connectorCountry: Greece
So we have the following scenario, I create an offer X in Connector A with an "access policy" that has a constraint (connectorCountry EQ Germany), because I want only Connectors from Germany to have access to the Offer
However according to the aforementioned flow [request -> CatalogApiController -> DspCatalogApiController] I can't retrieve my own
offer X, it is filtered by the policy engine. Only Connectors from Germany are able to get it. So is there a way (endpoint) to retrieve all my offers e.g. without passing through the DspCatalogApiController and the policy engine.
Beta Was this translation helpful? Give feedback.
All reactions