-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
Path validation does not work with StreamWrappers #284
Labels
Comments
Hi @cevou, It's indeed a common use case that I didn't think about when adding this validation. Right now the only way to fix it I see is to remove this validation from the configuration, and do it on login as in 1.x. I'll quickly make a fix and keep you informed here, a patch release will be drafted after merging it. Thank you for reporting this bug |
Thanks for the quick fix! |
gzim324
pushed a commit
to gzim324/LexikJWTAuthenticationBundle
that referenced
this issue
Jan 10, 2025
… MongoDB ODM 1.x (lexik#284) * Drop support for Symfony 3.4 and add support for Symfony 6, and drop support for MongoDB ODM 1.x * Misc. README updates
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since version 2 there is a check n the configuration if the paths for private and public key are valid. This is a good thing, because you can show an error message to the user already while the container is being compiled. However, it doesn't work if you use stream wrappers. I use a stream wrapper (AWS S3) in my production environment, so that all nodes can access the same key pair. These wrappers are only initialized after the container is compiled. Because of that the check in the configuration fails and I cannot clean and warmup the cache during composer install in my production environment.
Is there a way to fix this?
Best,
Chris
The text was updated successfully, but these errors were encountered: