Hey guys! I have a problem with my Spring Boot project showing blank pages when I log into Spring security using my credentials
I have this as my SecurityConfig class:
@Configuration
public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(
HttpSecurity http) throws Exception {
http
.authorizeHttpRequests((authorize) -> authorize
.anyRequest().authenticated()
)
.formLogin(Customizer.withDefaults())
.httpBasic(Customizer.withDefaults());
return http.build();
}
}
Even when I go to http://localhost:8080/swagger-ui.html nothing shows up