Skip to content

Fix OAuth2 resource server web conditions#50787

Open
xfocus3 wants to merge 1 commit into
spring-projects:mainfrom
xfocus3:fix/oauth2-resource-server-web-conditions
Open

Fix OAuth2 resource server web conditions#50787
xfocus3 wants to merge 1 commit into
spring-projects:mainfrom
xfocus3:fix/oauth2-resource-server-web-conditions

Conversation

@xfocus3

@xfocus3 xfocus3 commented Jun 17, 2026

Copy link
Copy Markdown

Summary

  • Prevent the servlet OAuth2 resource server auto-configuration from applying to reactive web applications.
  • Prevent the reactive OAuth2 resource server auto-configuration from applying to servlet web applications.
  • Keep both auto-configurations available for non-web applications.

Closes #50479

Verification

  • ./gradlew :module:spring-boot-security-oauth2-resource-server:check --no-daemon
  • git diff --check HEAD^ HEAD

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 17, 2026
Signed-off-by: Ahmed El amraouiyine <amraouiyine@gmail.com>
@xfocus3 xfocus3 force-pushed the fix/oauth2-resource-server-web-conditions branch from 545099e to a4b2de3 Compare June 18, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SB4.1 regression: Unwanted reactive oauth2 resource server related beans in a WebMVC app

2 participants