Unable to login to Flowable UI applications after a fresh installation

Hi,

I have an (untested) theory that the problem is that both the flowable-rest and flowable-idm runs in the same database, and flowable-rest bootstraps itself first.

Flowable-rest sets up its users here - https://github.com/flowable/flowable-engine/blob/flowable-6.1.2/modules/flowable-app-rest/src/main/java/org/flowable/rest/conf/DemoDataConfiguration.java
and flowable-idm sets up its users here - https://github.com/flowable/flowable-engine/blob/flowable-6.1.2/modules/flowable-ui-idm/flowable-ui-idm-conf/src/main/java/org/flowable/app/conf/Bootstrapper.java

If the flowable-rest configuration runs first, there will be Kermit, gonzo, fozzie setup without any related privileges to task/modeler/idm/admin app. Then when the flowable-idm app is run the first thing it does is check if any users exists. Because 3 already exist the flowable-idm setup is skipped.

To test if this theory is correct, try emptying the database, and deploying flowable-idm first and flowable-rest afterwards.
Alternatively, configure flowable-rest to not have any demo data.

Regards,
Paul