Skip to content

OidcBackChannelLogoutWebFilter make use of a servlet class #17125

Closed
@Dyskal

Description

@Dyskal

Describe the bug
The OidcBackChannelLogoutWebFilter class make use of an undefined status code when the project doesn't have spring-webmvc, and only spring-webflux on its classpath.


exchange.getResponse().setRawStatusCode(HttpServletResponse.SC_BAD_REQUEST);

Expected behavior
The class should make use of https://github.com/spring-projects/spring-framework/blob/bd83fb7021cab948dea1fee4a65e560a5bb4b4c0/spring-web/src/main/java/org/springframework/http/HttpStatus.java#L157 instead, with exchange.getResponse().setStatusCode(HttpStatus.BAD_REQUEST); .

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issuetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions