Replicating claims as headers is deprecated and will removed from v4.0 - Laravel Passport Problem in lcobucci/jwt package
问题 I'm using laravel/passport:7.5.1 package in my laravel project and recently faced with this exception. Any Idea? I temperory downgrade the lcobucci/jwt:3.4.0 package to lcobucci/jwt:3.3.3 Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated. Stack Trace: "exception": { "trace": [ "/var/www/app/vendor/lcobucci/jwt/src/Builder.php:334", "/var/www/app/vendor/lcobucci/jwt/src/Builder.php:185", "/var/www/app/vendor