Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel passport 7.5.1 - Replicating claims

We are having a new error related with laravel/passport: 7.5.1. Today, this library has been working as the last week. But this stops showing this message via Postman:

Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.

Do someone knows something about this issue?

We don't know how to continue with this...

We're using Laravel 5.7 (we know that...)

like image 230
Javier Quintanar Avatar asked Nov 23 '25 03:11

Javier Quintanar


2 Answers

We "solved" this temporally downgrading the library lcobucci/jwt from 3.4.0 to 3.3.3.

like image 61
Javier Quintanar Avatar answered Nov 25 '25 17:11

Javier Quintanar


help me in laravel 5.8

set in composer.json

"laravel/passport": "^7.5",
"lcobucci/jwt": "3.3.2",

and update vendor

composer update
like image 20
JanuszO Avatar answered Nov 25 '25 17:11

JanuszO



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!