hi guys i am new in prograaming with spring security and camunda so i was trying to deply a cmunda diagrame but always i have an error of a user not authorize to deploy plus i cant show camunda webapp in localhost:8080
her is my pom.xml
4.0.0
com.example.workflow
DEMO_TEST
1.0.0-SNAPSHOT
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>7.15.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter-rest
7.15.0
org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter-webapp
7.15.0
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-spin</artifactId>
</dependency>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-all</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.5</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>3.18.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
org.springframework.boot
spring-boot-maven-plugin
2.5.4
security.txt (3.7 KB)
Can you explain how you’re deploying the model and also exactly what error you’re getting
I was trying to deploy it from camunda modeler after i save it but they give me the error of “user not required to deploy” and when i try to view camunda web app in localhost:8080 i can see anything except the white screen white the classic error of spring boot
Are you able confirm that Camunda is actually starting up and is working? Better to get that working before worrying about deploying things
when i am using http.antMatcher("/app/**").authorizeRequests(); my camunda start working but spring security dont work as always i cant send request from front to back i get cors error (i already fixed this problem early but it come back now as i us camunda web app
)
Hi @Mouad_Elattar,
This simple config has always worked for me.
Defiantly not something you want in prod but works for dev and trying things out.