Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not override lexik_jwt_authentication.encoder.service automatically #57

Closed
temp opened this issue Aug 31, 2021 · 1 comment
Closed

Comments

@temp
Copy link
Contributor

temp commented Aug 31, 2021

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.

@temp
Copy link
Contributor Author

temp commented Aug 31, 2021

Nevermind - it is possible to do this right now, I got when@dev and when@test mixed up.

@temp temp closed this as completed Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant