Skip to content

Login => List of user's documents #50

Open

Description

@cben

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

  1. changed the title [-]List of user's documents[/-] [+]Login => List of user's documents[/+] on Jun 28, 2014
  2. cben commented on Jun 28, 2014

    @cben
    OwnerAuthor

    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

  3. added this to the "beta" milestone on Aug 3, 2015
  4. cben commented on Oct 12, 2026

    @cben
    OwnerAuthor

    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(?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions