Replicating claims as headers is deprecated and will removed from v4.0 - Laravel Passport Problem in lcobucci/jwt package

This issue has forced me to know that laravel/passport uses thephpleague/oauth2-server and thephpleague/oauth2-server uses lcobucci/jwt "3.3.3".

composer require lcobucci/jwt=3.3.3

I wouldn't have bothered to check this if everything worked fine today after I ran composer update on my app.


I'm deeply sorry for causing confusion or issues. Please check https://github.com/lcobucci/jwt/issues/550#issuecomment-733557709 for my full explanation on why this approach was taken and why it isn't considered a BC-break in my PoV.