Hi!
I try to login with admin account and cant get into application, I always got “Login failed: Forbidden”
I add admin account via application.yaml
camunda:
bpm:
admin-user:
id: admin
last-name: admin
first-name: admin
email: admin@mail.com
password: admin
job-execution:
enabled: true
I use camunda-bpm-spring-boot-starter-webapp version 3.4.1, do I need to add some extra credentials into *.yaml? Do I need to use some extra dependencies? How I can debug login process to find where error might occur?
I also cant create new user via Camunda admin form:
I
can connect to this db, if it is important:
Where is the database and how do i acces it? (google.com) , but, it has no tables
btw I found solution, somehow after I add this configuration class into my app, I can finally create new admin user (via *.yaml and via main login page)
@Configuration
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.headers()
.frameOptions().disable()
.and().cors()
.and().csrf()
.disable()
.authorizeRequests()
.antMatchers("/**").permitAll()
;
}
}