Reputation: 89
I have used LexikJWTAuthenticationBundle to implement JWT-based authentication for my Symfony project. I have followed the steps given in a couple of guides and all of them are identical. Following is a one reference link https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html .
After following the given steps I get the following error when trying to get a token and this is coming for all routes which need authentication as well. Anything that I have done wrong here?
Upvotes: 0
Views: 898
Reputation: 86
You are probably using a too old version of lcobucci/jwt
Update it.
composer require lcobucci/jwt:^4.0
Upvotes: 1