I am also facing an issue with CSRF token, Even I have disabled the csrf in security class. When I am calling API through postman and I'm getting the same error: An expected CSRF token cannot be found. Spring boot parent : 3.2.1 Spring cloud: 2023.0.0 Spring cloud gateway starter: 4...
After adding this i gotSpring MVC found on classpath, which is incompatible with Spring Cloud Gateway.this issue to overcome this they suggested two option spring.main.web-application-type=reactive or remove spring-boot-starter-web dependency. i added spring.main.web-application-type=reactive in ...