Do not override lexik_jwt_authentication.encoder.service automatically
temp opened this issue · comments
The lexik-jose-bridge always overrides lexik_jwt_authentication.encoder.service, which isn't necessary.
Since it can be simply set to the required value LexikJoseEncoder::class
, this should not be forced.
But since this would break existing installations, maybe this behaviour could be deprecated, and turned off by a switch?
Maybe something like lexik_jose.disable_automatic_encoder_override: false
?
Background: In prod we have a key set from azure, and with our local tests we want locally created private/public keys. But this isn't possible with the enforced encoder.
Nevermind - it is possible to do this right now, I got when@dev and when@test mixed up.