There's also an issue where the two versions of jwt-php have different method signatures for the JWT::decode method. In version 6 supported algorithms are no longer given as a third parameter.
JWK::parseKeySet already returns a properly formatted array of keys.
See advisory: Firebase PHP-JWT key/algorithm type confusion
There's also an issue where the two versions of jwt-php have different method signatures for the
JWT::decode
method. In version 6 supported algorithms are no longer given as a third parameter.JWK::parseKeySet
already returns a properly formatted array of keys.https://github.com/firebase/php-jwt/tree/main#using-jwks