Skip to content

OneTimeTokenAuthenticationFilter should propagate the request when there is no token in the requestΒ #16780

@jzheaux

Description

@jzheaux

OneTimeTokenAuthenticationFilter throws an exception if authenticationConverter returns null. However, it seems reasonable that an application will have a downstream filter or controller method that handles /login/ott differently from the filter.

As such, it may be helpful to have it do this:

chain.doFilter(request, response)

instead of:

throw new BadCredentialsException("messsage");

/cc @Kehrlann

Metadata

Metadata

Assignees

Labels

in: webAn issue in web modules (web, webmvc)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions