fix security configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -27,8 +27,8 @@ class WebSecurityConfig () {
|
|||||||
http.authorizeHttpRequests(Customizer { auth ->
|
http.authorizeHttpRequests(Customizer { auth ->
|
||||||
|
|
||||||
auth.requestMatchers("/public/**", "/health", "/info").permitAll()
|
auth.requestMatchers("/public/**", "/health", "/info").permitAll()
|
||||||
auth.anyRequest().permitAll()
|
//auth.anyRequest().permitAll()
|
||||||
//auth.anyRequest().authenticated()
|
auth.anyRequest().authenticated()
|
||||||
|
|
||||||
})
|
})
|
||||||
.oauth2ResourceServer(Customizer { oauth2 ->
|
.oauth2ResourceServer(Customizer { oauth2 ->
|
||||||
|
|||||||
Reference in New Issue
Block a user