Skip to content

Conversation

jasonlewis
Copy link

@jasonlewis jasonlewis commented Jul 10, 2023

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

@philiphoek
Copy link

I have also run into this problem, so it would be nice if this can be released as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants