Auto-create default user

Since migrating from Camunda to Operaton we have to create a ‘default’ user account when accessing the Dashboard for the first time on a new environment. With Camunda we just created a default-user by adding it to the underlying database. This doesn’t seem to work anymore.

Is there a way to automatically create a default user so we don’t have to manually create it?

There is no difference to C7 regarding this, so I’m wondering why this does not work for you.

However, it is also possible to create users using the IdentityService, e.g. Operaton create users programatically · GitHub

Solved.
We had a user ‘SOMEUSER’ present to the ACTI_ID_USER table and an entry for this user in the ACT_ID_MEMBERSHIP with GROUP_ID_ value ‘camunda-admin’.

When we change this group membership to ‘operaton-admin’ and navigate to the cockpit then we don’t get the ‘register admin user’ screen but the normal login screen as expected.

This was in fact a migration issue from Camunda to Operaton.

With a clean install the properties operaton.bpm.admin-user.id, operaton.bpm.admin-user.password, operaton.bpm.admin-user.firstName take care of creating the admin user.

2 Likes