You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic need is straightforward, the question is what kind of login do I want (cf #41 for the other major use case for logging-in users).
Simplest: login required to remember visited documents.
Should start with this, easiest to implement.
Better (a-la writeLaTeX): when anonymous, still remember documents in localStorage (or firebase with anon auth cached in cookies/localStorage?)
Fancy partial login: first just ask for email, send secret URL for accessing your doc list.
This effectively validates email, but asynchronously — link only needed for 2nd login.
If link is lost, can resend it — similar to password reset.
After using secret link, can optionally set a password?
Also, should allow search.
Firepad indexing is hard, but something as dumb as loading ALL docs into the doc list page for browser search to work might be acceptable if sufficiently lightweight (just <pre> with no highlighting, load snapshot instead of firepad reconstruction...)
Should probably expose doc title in firebase, without reconstructing firepad text.
Activity
[-]List of user's documents[/-][+]Login => List of user's documents[/+]cben commentedon Jun 28, 2014
My "creative" ideas like emailing a secret link giving full access to one's docs are probably very bad,
equivalent to sending passwords by email — http://plaintextoffenders.com/faq/devs
cben commentedon Oct 12, 2026
I've switched to low-effort static hosting (#172), so unlikely to get into this.
But in theory, firebase login might be possible on a static site(?)