oceanprotocol/RBAC-Server

Consuming issue when default

Opened this issue · 2 comments

oauth was recently added as an authService by @soonhuat. This can potentially cause an issue if a consumption request is sent (without specifying the authService in the request) if the default is set to oauth.

There is a default authService value that works when no value has been sent in the request. However, in src/controllers/assetController.ts only two values are recognised though keycloak and json so if no value was sent and the default was set to oauth then it would fail

Nothing has been done on this but I would say that it's also very low priority