You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ateeqdev
changed the title
Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.
InvalidCredentialsException when getting access token via POST
Nov 28, 2021
Steps to Reproduce
Expected Result:
Actual Result:
Infrastructure\\Auth\\Exceptions\\InvalidCredentialsException
is thrown ininfrastructure/Auth/LoginProxy.php:85
Root Cause
$this->apiConsumer->post('/oauth/token', $data);
throws an internal Server error ininfrastructure/Auth/LoginProxy.php
Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.
Resolution
composer require lcobucci/jwt=3.3.3
laravel/passport
usesthephpleague/oauth2-server
which useslcobucci/jwt "3.3.3"
.The text was updated successfully, but these errors were encountered: