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
Cross site embedding cookies do not work reliably in Safari #5769
Comments
I'm getting 404. Could you please describe the functionality which doesn't work as expected ? |
The chat app is up now. No 404 at the moment and the issue can be reproduced in Safari as explained. |
Steps to reproduce locally:
I had some issues with that even on Chrome because of Safari shows the error page:
If you open ("the same page") using the original domain Some preliminary investigation has shown that the cookie |
Apparently, it's not possible to fix this without changes in the way how session id is stored/transferred in Vaadin web app. I've been trying to apply this workaround for Safari : https://www.milestre.nl/blog/blogitem/milestre-blog/2019/11/18/safari-using-cookies-in-an-iframe
This workaround doesn't help: If I remove all cookies and visit the main page in the first time: the same error message is shown.
I've been trying also to call There is a recent comment about it :https://gist.github.com/iansltx/18caf551baaa60b79206#gistcomment-3251085. |
So I think the fix should be based on something like this: vaadin/framework#814 I will make a ticket for Flow. |
My current suggestion is to fix this issue: #8039 |
So as decided : this is a limitation in current implementation. |
If you go to https://artur.app.fi/chat.html you will see a "Cookies disabled" message.
If you open https://labs.vaadin.com and then go back to https://artur.app.fi/chat.html, it suddenly works.
Seems that cookies cannot be used relibaly in cross site embedding for Safari.
The text was updated successfully, but these errors were encountered: