nhynes / jwk-rs

Rust JSON Web Keys πŸ¦€πŸ•ΈπŸ”‘
MIT License
33 stars 16 forks source link

JWKS parsing of x5c is incorrect, breaks auth0 JWKS URLs #2

Closed bsmedberg-xometry closed 3 years ago

bsmedberg-xometry commented 3 years ago

The correct serialization of x5c is an array of certificates. The rust struct definitions are a single string. This breaks use with auth0 JWKS URLs where this field is populated.