8000 CSRF: the system is failing coz the controller JsonLogin take the hand after the login has been realized · Issue #42 · Rebolon/php-sf-flex-webpack-encore-vuejs · GitHub
[go: up one dir, main page]

Skip to content 8000
CSRF: the system is failing coz the controller JsonLogin take the hand after the login has been realized #42
@Rebolon

Description

@Rebolon

In fact when the controller is running to do the csrf checks, it's not good because the user is already logged.
So when i throw an exception because the token is invlaid, it's too late.

So i need to find another solution : maybe a new listener on Authentification that happen before the main Authentification system
OR do a PR on Symfony Security to add the CSRF Logic inside JSON_Login

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0