spring-projects / spring-projects/spring-security-samples
Error "No AuthenticationProvider found for org.springframework.security.authentication.UsernamePasswordAuthenticationToken" in authorization-server module
Open
@sjohnr is already working on this.
Since Dec 12, 2024.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 797
- Avg merge
- 3m
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.