spring-projects / spring-projects/spring-security-samples

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

Open
#340 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.