Skip to content

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

@pop1213

Description

@pop1213

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions