Hi All,
i am trying to integrate flowable 6.7.2 version with our own keycloak User Management.
changes done in flowable code:
i have configured the key cloak entries in application.properties with-in flowable-ui-app.
keycloak.auth-server-url=https:///auth
keycloak.realm=
keycloak.resource=
keycloak.ssl-required=external
keycloak.public-client=true
keycloak.principal-attribute=preferred_username
keycloak.confidential-port=0
keycloak.bearer-only=true
keycloak.realm-key=
and added keycloak adapter dependency in pom.xml (flowable-ui-admin-conf, flowable-ui-common, flowable-ui-idm-conf, flowable-ui-modeler-conf, flowable-ui-task-conf)
com..
mss-keycloak-adapter
1.0
plugin
and added applicationSecurityConfig and helper class in flowable-ui-idm-conf
added UserDetailUtil in flowable-ui-idm-logic to get the userId.
and edited getUserInformation method in userServiceImpl to getUser Details and adding priviliges for the respective roles.
Flowable-ui-app application is getting started but it requests us for the login credential instead of using the authorization from our application.
PFB the login page.
Even when I try logging with default credential it says invalid credentials. kindly help me resolve the problem.
Basically the problem I am facing here is I am not able to fetch/set the bearer Token from my application in cookies to login into flowable.