I am new to Symfony and jwt Authentication.
I tried to set up an access to api platform resources with a jwt token.
I followed the doc https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html to set up the token.
My problem comes after the token generation, on PostMan I add the generated token in Authorization -> Type : Bearer Token -> Token: the token, and when I make the request I get a return:
{
"code": 401,
"message": "Invalid JWT Token"
}
Token generation:
Token info:
Request get/Users:
Security.yaml
Thanks in advance for your help