Camunda sso

Hello,
I’m creating a java application which is going to run alongside Camunda on Tomcat. I would like to implement SSO. I still want to use user management from Camunda, since in my app I am going to utilize groups from Camunda.

I am able to authenticate to my app using Camunda credentials, however I need to log in separately to Camunda web-app and my app.

I tried to apply this solution:


It works well when starting Camunda using spring-boot, however I can’t get it to work on tomcat and use it for restAPI and my application.

Has anybody implement similiar solution? Can you give me some tips how to deal with it?