Skip to content

Conversation

@julien-nc
Copy link
Member

@julien-nc julien-nc commented May 14, 2024

php-jwt dropped support for P-521 curve. Parsing a keyset which contains a key using this curve will now fail. We could either wait for php-jwt to do something about that. We could also remove this key from the keyset we receive from the IdP.

This is an attempt to fix #823 by removing any key using a P-521 curve from the discovered keys.

The problem I see here is that maybe we are removing a key that we need to decode a token.

@julien-nc julien-nc added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DomainException: Unrecognised or unsupported EC curve at apps/user_oidc/lib/Vendor/Firebase/JWT/JWK.php line 145

2 participants