question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DOCS: Document cookie usage in Etherpad - Waiting on Final Edits

See original GitHub issue

Overview

It’s important to the Users and the host of the Etherpad instance to know what cookies are used in Etherpad and what is their purpose.

List of known cookies issued by Ethepad

name sample value domain path expires/max-age http secure usage
express_sid s%3A7yCNjRmTW8ylGQ53I2IhOwYF9… example.org / 1969-12-31T23:59:59.000Z true true Session ID of the Express web framework. When Etherpad is behind a reverse proxy, and an administrator wants to use session stickiness, he may use this cookie. If you are behind a reverse proxy, please remember to set trustProxy: true in settings.json
io uUrtV8P-cJF0IVDOAAAV example.org / 1969-12-31T23:59:59.000Z true false No longer used since Etherpad 1.8, see a51684b0227942b87c4742fbbdc3934c2a4d7018
language en example.org / 1969-12-31T23:59:59.000Z false true The language of the UI (e.g.: en-GB, it)
prefs %7B%22epThemesExtTheme%22… example.org /p 3000-02-25T13:17:08.000Z false true client-side preferences (e.g.: font family, chat always visible, show authorship colors, …)
token t.tFzkihhhBf4xKEpCK3PU example.org / 2019-04-26T13:17:07.000Z false true A random token representing the author, of the form t.randomstring_of_lenght_20. The random string is generated by the client, at (pad.js#L55-L66). This cookie is always set by the client (at pad.js#L153-L158) without any solicitation from the server. It is used for all the pads accessed via the web UI (not used for the HTTP API). On the server side, its value is accessed at SecurityManager.js#L33.
sessionID s.1c70968b333b25476a2c7bdd0e0bed17 example.org / 2019-04-26T13:17:07.000Z ? ? Sessions can be created between a group and an author. This allows an author to access more than one group. The sessionID will be set as a cookie to the client and is valid until a certain date. The session cookie can also contain multiple comma-separated sessionIDs, allowing a user to edit pads in different groups at the same time. More info - https://github.com/ether/etherpad-lite/blob/develop/doc/api/http_api.md#session

TODO

  • Extend the cookie list above
  • Add usage clarifications to every cookie

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:22 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
muxatorcommented, Apr 19, 2020

replace the domain myinstance.com with example.org

Done. Thanks for the hint @ukcb.

@tiblu, could you make a PR for the documentation, so we can work on that one?

1reaction
ukcbcommented, Apr 19, 2020

Small hint: If you are already there, you could also replace the domain myinstance.com with example.org. This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Served 8: Node.js, Redis, and real-time writing with ...
To do this, we need to edit Etherpad main configuration file, which is at /usr/share/nginx/etherpad-lite/settings. json .
Read more >
Etherpad v1.8.3 Manual & Documentation
The documentation is generated using the bin/doc/generate.js program. ... We use a language cookie to save your language settings if you change them....
Read more >
Newest 'etherpad' Questions - Stack Overflow
Etherpad is a web-based collaborative real-time text editor, allowing authors to simultaneously edit a text document, and see all of the participants' edits...
Read more >
[CONFSERVER-8333] Real-time concurrent editing to allow multiple ...
CONFSERVER-29736 Ability to make changes to documents Live ... We use our own instance of etherpad in combination with Confluence, using etherpad for ......
Read more >
Storage to the People Final Report - The Interledger Community
We are very pleased to announce the completion of our Grant for the Web project to apply the web monetization framework to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found