This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.
JSON parser for JWT header too restrictive #700
Open
Description
When decoding the JWT header, the input is converted Map<String, String>
using string operations. This simple parser fails with an ArrayIndexOutOfBoundsException
if the header value contains a comma.
The JWT header parser should be able to handle any JSON object, even if most of the fields are ignored for verification.