Skip to content

Disabling logout in WebFlux does nothing #7682

Closed
@eleftherias

Description

@eleftherias

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();
	}
}

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configstatus: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions