Spomky-Labs / lexik-jose-bridge

An Encoder for the LexikJWTAuthenticationBundle that uses web-token/jwt-framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot use key ID as key_index when using LexikJoseEncoder

volkyeth opened this issue · comments

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.

You are right there is something wrong here.
I will add the possibility the use either an integer or the key ID.

commented

thanks for the prompt responses 🙂

Done. Tagged as v2.0.3.