-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Embedding etherpad-lite without cookies? #4447
Comments
I swear this is a duplicate. I'm sure I addressed this a bunch of times before and the conclusion is for a good experience you should use reverse proxy of same domain.. did you look through previous issues before creating a new one? |
#4157 some details here.. |
https://github.com/ether/etherpad-lite/issues?q=is%3Aissue+is%3Aclosed+embed is general history of this issue.. |
even if this might be a duplicate: I just experienced a lot of issues when trying to embed etherpad cross-domain ... so I +1 for this. Without reading the referenced issues yet some thoughts: in fact you only need the cookies for reload or when navigating. If you could avoid app internal need for navigation (as currently to the pad history page, not sure is somewhere else) and also do this as single page app, then it might not be a (big) issue if no cookies can be stored. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I would also love this feature |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
To prevent it from closing: This is still something that I regard as very useful |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
hm, reopen again ...? |
I encountered the same problem. An etherpad in an iframe on safari would fail to load because of an unhandled promise rejection:
I don't have time atm to make a proper pull request but here's how I fixed it.
|
this fix is based on ether#4447
Is commit ada245affa118 in the ZUMTeam fork of Etherpad Lite a reasonable improvement? I.e., does it at least get Etherpad to the point where if someone who has configured their browser to disallow sites from setting cookies just wants to view a public Etherpad document, they could do so without error? Right now, they would get an error like this:
We haven't tested that patch ourselves yet, but we might (CC @smpsnr). I'm not competent to review it, but if it at least allows the above then it might make sense to try to get it -- or something like it -- into stock Etherpad Lite. |
Second what @kfogel says, it would be nice if people could just look at the pad without getting bombarded by messages |
facing the same issue here using Safari 18.0 on a Macintosh. The embeds are not working. |
May I know what you are trying to do :) ? Etherpad needs cookies to remember which author is which. |
Hey Sam, thanks for you reply, sorry for the vague follow up earlier.
|
@paubou Could you please send me the html for embedding the pad? I'll try it out locally and check if I find a solution to this. Did it work on Safari 17? |
Didn’t had a chance to check with safari 17; it’s my first time using an embeded etherpad.
Here is a simple embed generated from framapad. |
Joining the thanks from @paubou -- glad to see you're having a chance to look at this, @SamTV12345. |
name: Feature request
about: Suggest an idea for this project
title: Embedding etherpad-lite without cookies?
labels: enhancement
assignees:
Is your feature request related to a problem? Please describe.
I am using etherpad-lite as an integration widget in Matrix/element. Thus etherpad-lite (provided by some external service provider, e.g.
pad.disroot.org
) is embedded viaiframe
into the website.Sadly this fails to work, if the browser is configured to block 3rd party cookies.
Privacy oriented browsers (Tor browser, Brave) block 3rd party cookies by default.
Since March 2020 even Safari blocks 3rd party cookies by default. The announcement also contains some hints, how services can handle this change.
Thus it will probably become harder and harder to embed etherpad-lite into external websites. This would be a pity.
Describe the solution you'd like
I can image the following ways to work around the 3rd party cookie blocking:
But I have little knowledge in this field. Thus feel free to ignore my suggestions.
The text was updated successfully, but these errors were encountered: