File tree Expand file tree Collapse file tree
java/io/autoinvestor/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class SecurityConfiguration {
1515 @ Bean
1616 public SecurityWebFilterChain securityWebFilterChain (ServerHttpSecurity http ) {
1717 return http
18- .securityMatcher (ServerWebExchangeMatchers .anyExchange ( ))
18+ .securityMatcher (ServerWebExchangeMatchers .pathMatchers ( "/api/**" ))
1919 .csrf (ServerHttpSecurity .CsrfSpec ::disable )
2020 .authorizeExchange (authorizeExchangeSpec -> authorizeExchangeSpec
2121 .pathMatchers ("/api/oauth2/**" , "/api/login/**" ).permitAll ()
Original file line number Diff line number Diff line change @@ -40,13 +40,6 @@ spring:
4040 filters :
4141 - SetStatus=200
4242
43- - id : plain-text-response
44- uri : " no://localhost"
45- predicates :
46- - Path=/api
47- filters :
48- - SetStatus=200
49-
5043 - id : oauth2-auth
5144 uri : http://localhost:8080
5245 predicates :
You can’t perform that action at this time.
0 commit comments