Skip to content

Instantly share code, notes, and snippets.

@seanmonstar
Last active December 23, 2015 21:09
Show Gist options
  • Save seanmonstar/6694364 to your computer and use it in GitHub Desktop.
Save seanmonstar/6694364 to your computer and use it in GitHub Desktop.

@simevidas: @seanmonstar I've come up with some questions: https://t.co/rlG2ZHLOXO (Context: https://t.co/5UBSoYmcKv)

Is it possible to use an email address from your own domain for Persona? (E.g. if John Smith owns the domain smith.com and creates the email address [email protected], can he use that address for Persona?) If yes, how to set it up? Which config is required on your web/email server?

Yep. If John does nothing, then he can use [email protected] with Persona by verifying an email from Persona, and creating a password in the dialog. If John wants to own his login experience, he can set up his domain to be an Identity Provider: https://developer.mozilla.org/en-US/Persona/Identity_Provider_Overview

How does Persona remember your e-mail address? Where is that stored? (E.g. when I click “login with email” and the Persona popup has my gmail address pre-selected - How does Persona know this information? Is it kept on Persona’s server or in my browser somewhere?)

The relationship of which email you used with each site is stored in localStorage on the login.persona.org domain. We don't send that information to our servers, so your browser is the only one that ever knows.

Also, I’d love to see a comparison of using Persona with your gmail address vs. using “sign in with Google”. Both login methods have a similar user experience and both rely on Google. What are the advantages/benefits of Persona in this case?

As you've noted, Persona offers a similar experience for Gmail users vs "Sign in with Google". The advantage to using Persona in this instance is for everyone else that doesn't have a Gmail account. They are still able to log in; the "Sign in with Google" solution doesn't let those people through.

@simevidas
Copy link

Btw, the Persona FAQ is located on MDN.

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