Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove 5.x support and update decode method signature #327

Open
wants to merge 1 commit into
base: feature/sdk-automation
Choose a base branch
from

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