Cannot create initial user nor use a user from application.yml

I can’t create initial user:
Access Denied : Executing an action has been denied by the server. Try to refresh the page.

Using Spring Boot embedded Camunda (with Postgres DB).

org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter
7.13.0


org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter-webapp
7.13.0


BTW: I tried to create a user via application yml - and cannot sign in too (but the user is added to act_id_user and act_id_membership).
camunda:
bpm:
admin-user:
id: demo
password: demo

Is there a more specific error in the log?

Hi Niall,
I think I am having the same issue on V 7.13.0.
No errors at all in the logs, only some on the web console:
I got a 404 on http://localhost:8081/camunda/api/admin/auth/user/default when loading the login page and a 403 when trying to login (http://localhost:8081/camunda/api/admin/auth/user/default/login/welcome, I can see that admin/admin is sent in the form data of the POST)
I can also see the user in the logs:
2020-09-21 16:31:12.748 INFO 25716 --- [main] org.camunda.bpm.spring.boot : STARTER-SB010 creating initial Admin User: AdminUserProperty[id=admin, firstName=Admin, lastName=Admin, email=admin@localhost, password=******]
And the user is there in the integrated h2 db as well.

When I change the Camunda springboot version to 3.4.4 (using Maven) its working fine.

Edit; Also tested 7.14.0-alpha3 which is working as expected. Seems like a bug in v 7.13.0 to me…