8000 [Security] json_login tries to handle every request · Issue #22423 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Security] json_login tries to handle every request #22423
Closed
@lsmith77

Description

@lsmith77
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3-dev

#18952

UsernamePasswordJsonAuthenticationListener seems to "high-jack" every request. While the documentation http://symfony.com/doc/master/security/json_login_setup.html seems to imply it supports things like check_path I do not see this in the code at all. It might make sense to extend from AbstractAuthenticationListener. At the very least the listener should check the Content-Type header if its a json request.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0