Alexis Moren
Alexis Moren
@fd6130 Hello, yes I just take a look :  and yes I'm using apache
@chalasr yes : ``` /** * A visual identifier that represents this user. * * @see UserInterface */ public function getUserIdentifier(): string { return (string) $this->email; } ```
So I finally found a solution (with help), I share it to help people who have the same problem. First you must check you have the getUserIdentifier() method in User.php...
> @EvilSpartans, you may want to add `user_id_claim: email` in the configuration file so that the name of the key in the token payload remains email and is not replaced...
> Hmmm so if we have `getUsername()` and `getUserIdentifier()` both in a user provider, it will trigger the `401 JWT Not Found` ? Without get_user_identifier_field in config file yes, for...
Hi ! Did you find a solution for this ? On my prod env I have same problem and don't understand why
Hi, I found a solution, I use docker in production too and it work ^^