Closed JosephVasc closed 1 year ago
Hi @JosephVasc, as far as I can see, your question addresses a different project: camunda-bpm-auth-keycloak-sso. This project here provides the underlying Camunda Readonly Identity Provider, but not SSO for standalone Tomcat. So your question belongs to the Tomcat integration project. Sorry.
Personally I understand what you are trying to achieve. But honestly: why do you make it so difficult for yourselves? Setting up your own Camunda Spring Boot instance is quite easy and would give you the flexibility to use just everything out of the well prepared Spring Boot world and adapt that to your own needs. And then you only need to add a small piece of code playing the bridge between Spring Boot Security and Camunda. See e.g. https://github.com/camunda-community-hub/camunda-platform-7-keycloak/tree/master/examples/sso-kubernetes/src/main/java/org/camunda/bpm/extension/keycloak/showcase/rest. Especially the KeycloakAuthenticationFilter is of interest.
Hope that helps.
Thank you for the reply @VonDerBeck
WIth the sso issues im having with tomcat I'm going to give the spring boot version a shot. Is the dockerfile in sso-kubernetes the container I need? Or is there an image on docker hub.
Thanks.
Hi @JosephVasc,
sorry for coming back to you so late. When talking about Spring Boot with Camunda 7 - in case you have special environment requirements and integrations the best way in most cases is to setup your own Spring Boot project and build it for yourself. The sso-kubernetes example is such a basic example showcasing the integration.
No further info; since the question concerns another project, i am closing this issue now
My team and I have been developing a front end to run Camunda rest api tasks through. I have setup the keycloak plugin and know I need to modify the authentication filter to accept a token from the front end (in the api call header) to process the request. I have added the following to /camunda/webapps/engine-rest/WEB-INF/web.xml
keycloak.json
I have also installed the
camunda-bpm-auth-keycloak-sso-1.3.jar
into the lib folder.also note i am using two different clients here (same realm). The engine is connected (and properly sharing an identity server) with one client (camunda-identity-service) and the front end is authenticating through another client (camunda-web-app).
I was wondering if I am missing something in config that will allow us to pass a keycloak token from the react app to authorize requests.