fix: fix requestMatcher for actuator
All checks were successful
Release / release (push) Successful in 2m4s
All checks were successful
Release / release (push) Successful in 2m4s
This commit is contained in:
@@ -26,7 +26,7 @@ public class KeycloakAutoConfiguration {
|
|||||||
http
|
http
|
||||||
.csrf(AbstractHttpConfigurer::disable)
|
.csrf(AbstractHttpConfigurer::disable)
|
||||||
.authorizeHttpRequests(registry -> registry
|
.authorizeHttpRequests(registry -> registry
|
||||||
.requestMatchers("/actuator/health", "/actuator/info").permitAll()
|
.requestMatchers("/actuator/health", "/actuator/info", "/actuator/health/*", "/actuator/info/*").permitAll()
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
)
|
)
|
||||||
.oauth2ResourceServer(oauth2 -> oauth2
|
.oauth2ResourceServer(oauth2 -> oauth2
|
||||||
|
|||||||
Reference in New Issue
Block a user