I am working on a Symfony application. This application receive requests from different vendors and each of them do requests with a certain JWT token. The token is ok. My lexik configuration is ok. Passphrase is ok. … but I always receive {"code":401,"message":"Invalid JWT Token"}
Debugging in lexik code I can see the error is the following.
Unable to verify the given JWT through the given configuration. If the "lexik_jwt_authentication.encoder" encryption options have been changed since your last authentication, please renew the token. If the problem persists, verify that the configured keys/passphrase are valid.
Source: Symfony Questions
Was this helpful?
0 / 0