spring-security-samples icon indicating copy to clipboard operation
spring-security-samples copied to clipboard

Error "No AuthenticationProvider found for org.springframework.security.authentication.UsernamePasswordAuthenticationToken" in authorization-server module

Open pop1213 opened this issue 1 year ago • 0 comments

The reason for this error should be the dependency on Spring Boot 3.4.0-M3. In this version, the annotation @ConditionalOnBean(ObjectPostProcessor.class) of UserDetailsServiceAutoConfiguration references the deprecated ObjectPostProcessor type, which causes UserDetailsServiceAutoConfiguration to be skipped when scanning the configuration classes.

pop1213 avatar Nov 28 '24 16:11 pop1213