Skip to content

Observe OIDC back-channel logout authentication - #20119

Open
2748109647 wants to merge 1 commit into
spring-projects:mainfrom
2748109647:codex/oidc-logout-authentication-observations-gh-20118
Open

2748109647 wants to merge 1 commit into
spring-projects:mainfrom
2748109647:codex/oidc-logout-authentication-observations-gh-20118

Conversation

@2748109647

Copy link
Copy Markdown

Apply the configured ObjectPostProcessor<AuthenticationManager> to the ProviderManager created by OidcLogoutConfigurer.BackChannelLogoutConfigurer before installing it in OidcBackChannelLogoutFilter. This allows authentication observations and SecurityObservationSettings to apply to OIDC back-channel logout token authentication.

Add regression tests for observing the authentication context and for disabling authentication observations.

Closes gh-20118

Validation

  • ./gradlew format passed.
  • In the Spring Security config test run on JDK 25, OidcLogoutConfigurerTests passed: 11 tests, 0 failures/errors/skips.
  • The broader config check ran 3,688 tests and ended with 24 unrelated failures: 21 WebAuthn tests lacked generated JavaScript assets after npm installation failed with ECONNRESET (esbuild was then unavailable); 3 schema tests expected English messages but ran on Windows with a Chinese locale. Formatting, Checkstyle, and compilation passed.
  • A separate targeted rerun was blocked before tests by a TLS handshake failure fetching OpenSAML from repo.spring.io.
  • git diff --check passed.

Signed-off-by: Alpha <2748109647@qq.com>

This branch has not been deployed

No deployments
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.

OIDC back-channel logout skips AuthenticationManager post-processors

2 participants