Skip to content

Commit

Permalink
Fix startup issue for minimal config guidelines
Browse files Browse the repository at this point in the history
With Boot 3.2.0 the auto-configured InMemoryUserDetailsManager bean (used by our minimal configuration) is backing-off because we include the spring-security-oauth2-resource-server dependency, and with an additional condition introduced since 3.2.2 - if none of the spring.security.user name or password properties is present in the setup.

With this update in the minimal configuration guidelines, the service is starting correctly.

Fixes gh-1475
  • Loading branch information
rozagerardo committed Jan 19, 2024
1 parent 01441f9 commit 485eeb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/main/java/sample/gettingstarted/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ logging:

spring:
security:
user:
name: user
password: password
oauth2:
authorizationserver:
client:
Expand Down

0 comments on commit 485eeb5

Please sign in to comment.