Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set an authentication manager for back-channel logout in ServerHttpSecurity #16552

Open
wants to merge 1 commit into
base: 6.4.x
Choose a base branch
from

Conversation

ErwinSteffens
Copy link

Allow to set custom OidcBackChannelLogoutReactiveAuthenticationManager instance so you can override the logout token decoder factory with for setting a custom WebClient instance.

Issue: #16545

Usage:

http
		.oauth2Login(Customizer.withDefaults())
		.oidcLogout(customizer -> customizer
				.backChannel(config -> {
					var manager = new OidcBackChannelLogoutReactiveAuthenticationManager();
					manager.setLogoutTokenDecoderFactory(logoutTokenDecoderFactory);
					config.authenticationManager(manager);
				}));

@ErwinSteffens ErwinSteffens changed the base branch from main to 6.4.x February 7, 2025 12:54
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.

2 participants