panva / openid-client

OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
MIT License
1.83k stars 392 forks source link

#466 adding application/jwk-set+json for JWTS calls #467

Closed frederik closed 2 years ago

frederik commented 2 years ago

Adding application/jwk-set+json as an accepted header, since some OIDC providers are stricter and will return a 406 error code otherwise.

frederik commented 2 years ago

@panva thanks for the patience. Can you please check the latest commit? The tests are passing now - I had to change a few more matchHeaders