Camunda rest api jwt authentication

HI everyone , we are currently using camunda bpmn along with springboot in our project, we have a separate microservice in which camunda bpmn is implemented .

We have used jwt implementation in the microservice.

However we are facing issue in authenticating camunda rest apis.( for eg-rest/identity/groups?userId=CBU1)

How can we make these apis jwt authenticated .

Do we add specific dependency in pom.xml?

Kindly help