Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated. in Laravel API
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