Hi all.
I’m using embedded camunda engine and web apps in my spring boot application.
I’ve already implemented ReadOnlyIdentityProvider and everything works as expected, but in welcome application there is an error loading password policy with error code 404.
but that does not work. Also, I’ve configured camunda engine to use the default password policy:
PasswordPolicy passwordPolicy = new DefaultPasswordPolicyImpl();
processEngineConfiguration.setPasswordPolicy(passwordPolicy);
but also that does not work.
This happened due to session affinity, if you are deploying more than one camunda instances behind load balancers we need to make sure session affinity on the load balancer is set to avoid token mismatch issues with redirection
The REST API just works as expected and as documented.
We understand that this 404 default handling can raise concerns and will consider this for calls we add to the web apps in the future. The 404 you see here is however of no concern.
If you’d want to not see the 404, you would need to set enablePasswordPolicy to true in the engine configuration. This will by default enable the DefaultPasswordPolicy. You can of course provide your own policy by setting it via setPasswordPolicy in the engine configuration.