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
Pull request #2235 updated this package's composer.json file to allow firebase/php-jwt v6.
firebase/php-jwt v6 changed the method signatures for both JWT::encode() and JWT::decode(). It seems that the calls in this library to this method were not updated accordingly.
The second argument of JWT::decode now must be Firebase\JWT\Key or array<string, Firebase\JWT\Key> (see firebase/php-jwt#376)
JWT::encode requires third argument $alg (see firebase/php-jwt#376)
The offending decode call is in src/AccessToken/Verify.php(106): Firebase\\JWT\\JWT::decode()