Hello,
I’m thinking of a custom plugin development and wondering if its the right approach or perhaps there’s a better/easier solution. Just to mention, it is a camunda 8.x and it is a self hosted deployment using docker images per each component.
I would like to be able to authorize rest api access, for example to operate api, using a list of roles found in a request object [ custom header or jwt body ], against Camunda’s Identity and group permission configuration.
Couple of constraints:
- No User creation in Camunda Identity. There should be only Groups, the ones that are expected to come from request object
- The authN is already done at the point when the rest api call is triggered towards Operate APi endpoint
- The AuthZ should rely on the list of roles received in request object
Having in in mind springboot, it sounds like a custom filter implementation with authZ override and validation against Camunda’s Identity configuration, while loaded in each component separately using a official docker image release [ operate, tasklist … ] ? Which API would one use/extend in this case ?
Might there be any way to ‘globally configure Camunda’ to look for roles in jwt and validate without the userId ?
A penny for your thoughts :).
Thanks in advance