Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pop1213 opened this issue Nov 28, 2024 · 0 comments
Assignees

Comments

@pop1213
Copy link

pop1213 commented Nov 28, 2024

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.

@sjohnr sjohnr changed the title The servlet/spring-boot/java/oauth2/authorization-server module shows an error message: "No AuthenticationProvider found for org.springframework.security.authentication.UsernamePasswordAuthenticationToken". Error "No AuthenticationProvider found for org.springframework.security.authentication.UsernamePasswordAuthenticationToken" in authorization-server module Dec 12, 2024
@sjohnr sjohnr self-assigned this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants