-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Do not throw any exception if confirmation token couldn't be found #175
Comments
@aarongerig This is crazy! Thanks for your detailed investigation! 💪 But again: Crazy? All those "confirmation-link" on this planet would run into this? However, this requires even more investigation. The only quick solution: checking request headers (or operation), there has to be something, we can identify to skip resetting the token |
@aarongerig I can't find anything on the web about this... We're not the only one with One-Time-Confirmation-Links, right? However, a simple solution could be: Pass the user to the "Confirmed!" Page all the time, regardless if the token has been found or not. Event better: Pass an additional parameter |
@solverat That's what I thought as well, pretty weird to not find much about that topic on the web. I would prefer that solution, as it is more user-friendly anyways. I also like the idea of the |
@aarongerig please check #181, i guess that's all we need, right? BTW: I still can't believe this is a real thing, or maybe there is a misunderstanding: Is outlook requesting a "preflight check" before you've clicked on the link or after (basically a "security-redirect"). It would be crazy, if it's first one because you would automatically subscribe any spam newsletter subscription, so it has to be the second option… 👀 |
@solverat Whenever we click a link in our Outlook emails, the following popup appears at the bottom of the screen and the link gets opened in the background. After the link's content was checked, it redirects the user to the link in the end, but at that time the link's destination was already visited. ![]() |
@aarongerig scary scary. However, thank you so much for the insights! This has been fixed in #181! |
Not sure if this could be seen as a bug, but it is for sure an issue. As of lately the Microsoft Office 365 platform introduced some changes regarding the security of links in emails. If you now want to open links from within an email, MS Outlook first opens the link in the background and does some security checks on the opened web page. If no security alerts have been triggered, the user is then redirected to the links origin.
Therefore the request is sent twice to the server and thus creates some issues, which are also related to some Pimcore Members functionality. Prime example of that would be the registration process. During registration a confirmation token is generated and saved on the user object.
Now, once the user wants to confirm the registration by clicking the mail link, the following problem occurs:
null
here.@solverat Any smart idea, that could prevent such behavior? Maybe not reset the confirmation token after confirmation? Or trigger a custom exception/event where the devs could react to?
The text was updated successfully, but these errors were encountered: