Skip to content
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

Identity Spec #55

Closed
edrex opened this issue Jan 21, 2014 · 1 comment
Closed

Identity Spec #55

edrex opened this issue Jan 21, 2014 · 1 comment

Comments

@edrex
Copy link
Owner

edrex commented Jan 21, 2014

Currently I'm using Mozilla Persona for identity. This gives only one piece of information: the user's email.

I can additionally hash the email to get a gravitar icon.

Problems:

  • Can't associate pages with email. That would leak emails.
  • I could associate with a hash of email
    • but then can't retrieve email for post (eg for notifications)
    • also no human-recognizable author name

Wishlist:

  • Display human recognizable public name
  • Retain email (but not in post or public profile, would have to be user DB)

Twitter gives this, but doesn't give email. Twitter handle would be a nice option for associating posts with a public ID (email isn't public ID)

Another option would be to allow the user to set a local username, but then changing it would break the assoc.

Other possibilities:

  • Additional DB (or type) for user profiles
  • ID is hash of email?
  • how to include inline?

http://stackoverflow.com/questions/1541239/unique-constraints-in-couchdb

@edrex
Copy link
Owner Author

edrex commented Jan 22, 2014

Here's what I'm thinking:

  • user id is md5 of email
  • show gravatar on post (no lookup needed, hash is embedded in page)
  • link to profile page (later can show posts etc)

If at some point we decide authors need names, we will add a user record type, editable by that user.

@edrex edrex closed this as completed Jan 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant