Skip to content

Trying to use it with mongo, but the user login_check payload is empty #1047

@ProteanCode

Description

@ProteanCode

Hi there

I am trying to use that library with a mongodb,so I started from there
https://github.com/lexik/LexikJWTAuthenticationBundle/blob/2.x/Resources/doc/8-jwt-user-provider.rst

But after doing a POST request I get an error that

Warning: Undefined array key "roles"

Actually the whole payload is empty...

I am confused, there is no reason for the payload to be empty

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