Skip to content

Disabling logout in WebFlux does nothing #7682

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

Closed
eleftherias opened this issue Nov 28, 2019 · 1 comment
Closed

Disabling logout in WebFlux does nothing #7682

eleftherias opened this issue Nov 28, 2019 · 1 comment
Assignees
Labels
in: config An issue in spring-security-config status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@eleftherias
Copy link
Contributor

Summary

Although there is a function to disable logout in WebFlux, it does not work.

Actual Behavior

When disabling logout, a "/logout" page is still generated.

Expected Behavior

When disabling logout, no "/logout" should be generated.

Configuration

@EnableWebFluxSecurity
static class SecurityConfig {
	@Bean
	SecurityWebFilterChain springSecurity(ServerHttpSecurity http) {
		http
			.logout()
				.disable();

		return http.build();
	}
}
@eleftherias eleftherias added in: config An issue in spring-security-config type: bug A general bug labels Nov 28, 2019
@eleftherias eleftherias self-assigned this Nov 28, 2019
@eleftherias eleftherias added this to the 5.2.2 milestone Dec 12, 2019
eleftherias added a commit that referenced this issue Dec 13, 2019
@spring-projects-issues
Copy link

Fixed via 0d24e2b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: config An issue in spring-security-config status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants