Skip to content

User is not checked when requesting an access token via password grant #125

Open
@theofidry

Description

@theofidry

I noticed that when doing a request to get an access token via the password grant type, the PasswordGrant::validateUser() does not check if the user is a "valid" user.

Indeed, it tries to get a user with matching credentials, sure enough, but it does not check anything further where traditionally in a Symfony app you have some pre & post auth checks via the user checker.

Is this expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions