Replies: 2 comments 2 replies
-
On the protocol side of things, i.e. DSP, there is no user identification beyond the connector identifier (here: BPN), that means, the connector cannot identify individual users. Or in other words: there is only one user, and that is the BPN. If you want to implement fine-grained access control on the Management API side, you could extend the In your use case the provider's data plane needs to handle authentication against the backend. You could attach user information to |
Beta Was this translation helpful? Give feedback.
-
In the mentioned use case we would want to make a application that employs User-based Authentification (more fine grained than the BPN) available behind an EDC. But if this is clearly against your design goals, we willneed to find a workaround, maybe with the help of a proxy that rewrites a POST request or something like that. |
Beta Was this translation helpful? Give feedback.
-
WHAT
Allow the EDC to forward headers from the clients request to the backend application.
Ideally, also implement some sort of name-mangling to enable headers like "X-Api-Key" to be sent to the backend application, despite the EDC using its own X-Api-Key (e.g. the Client-defined Header "Backend_X-Api-Key" gets rewritten to "X-Api-Key" before being passed to the backend application or similar).
From my current tests, it seems like headers are generally not forwarded, at least when using the Adapter Extension.
WHY
This can be used e.g. for authentification against a backend application in cases where BPN validation is not enough (maybe not all users of a company may access a certain resource), or an already authentification-based application shall be deployed behind an EDC without major modifications (this is my current use case).
SOLUTION PROPOSAL
FURTHER NOTES
Discussion created as advised by @stephanbcbauer
I searched for documentation on this feature but could not find any, and my tests point me to the assumption that this feature does not yet exist. If I am wrong and it is possible to forward headers already, please let me know :)
Beta Was this translation helpful? Give feedback.
All reactions