Unable to activate a JobWorker in camunda-spring-boot-starter 8.8.2?

It turns out the Job Workers don’t work with User Flow (User Bearer/Access Token)
when using authentication.method=oidc
but the authentication should be done through client credentials as follows:

camunda.security.authentication.method=oidc
camunda.client.grpc-address=http://localhost:26500
camunda.client.rest-address=http://localhost:8080
camunda.client.prefer-rest-over-grpc=false
camunda.client.auth.client-id=my-connectors-client-id
camunda.client.auth.client-secret=my-connectors-client-secret
camunda.client.auth.token-url=https://my-idm-server/connect/token

So I ended up making a separate springboot application for the job workers and using the above configuration, and it worked just fine.