Skip to content

2.3.0 Webflux basepath property 'spring.webflux.base-path' with Spring Security default login page results in 404 #21679

@anupam-contaque

Description

@anupam-contaque

Spring Boot version - 2.3.0
Dependencies - Spring Webflux, Spring Security

Using the spring.webflux.base-path in Webflux project with Spring Security, default authentication endpoint /login doesn't get prefixed with basepath provided, which results in 404 not found.

Steps to reproduce :

  1. Add spring.webflux.base-path=/test in application.properties.
  2. Request any endpoint, that will open Spring Security default login page.
  3. Enter username as user and password provided in the console.
  4. Submitting the form results in HTTP ERROR 404

Metadata

Metadata

Labels

for: external-projectFor an external project and not something we can fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions