Cannot use key ID as key_index when using LexikJoseEncoder
volkyeth opened this issue · comments
Volky commented
the key_index
setting can be an integer or the key ID (string), but LexikJoseEncoder 's constructor expects it as an integer, so there's no way to use the key ID.
Florent Morselli commented
You are right there is something wrong here.
I will add the possibility the use either an integer or the key ID.
Volky commented
thanks for the prompt responses 🙂
Florent Morselli commented
Done. Tagged as v2.0.3
.