-
Notifications
You must be signed in to change notification settings - Fork 33
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
Verifying mail signature failed on prod #149
Comments
It's the same with me, on the local dev and prod work flawlessly while on the target domain (prod) pops up a message that the link is invalid. |
Howdy, I'm working out tests related to this now over in maker-bundle. But, I'm not able to reproduce the error. VerifyEmailBundle should just work regardless of the environment. The only thing that I can think of is An app the reproduces this error between the different environments would help. |
Hello @jrushlow , I think I have found the origin of this "bug". Here is what I had in local:
Notice that the question mark is parsed as being a part of the query string.
Removing the question mark fixed the issue. Cheers ! |
This isn't working for me in production either. I'm on Symfony 7.1.2 using |
Hey,
Thanks your for verify-email-bundle.
I've a problem with the mail signature online.
I've use this tutorial for use the bundle : https://symfonycasts.com/screencast/symfony-security/verify-email
All is right on local (127.0.0.1). The mail link is valid.
When I try to use in prod (online) I've a message : The link is invalid.
This is a link example on prod :
https://www.chasseprecision.com/user/verify/email?expires=1700923576&id=37&signature=KooiveHUhpnzAPZN4VciLsoPeiKswPJuA2rly3gBNAQ%3D&token=qFp07VBkjvF0gkKZ%2B%2F30yCTaw8rSxjPjyMcSs0Txe2E%3D
There is a special config for prod ?
How can I verifying the right signature ? (with log for compare the link send in mail)
Thank you
The text was updated successfully, but these errors were encountered: