Loomio

Login with Mozilla Persona

Raphaël Jadot PublicSeen by 83

Hi,

this is my first contribution to this workgroup, so excuse me if I start it wrongly :)

https://login.persona.org/about and http://www.mozilla.org/en-US/persona/

Mozilla Persona is imho the SSO to support, which has a chance to succeed as a standard and decentralized open SSO where, in a way, OpenId failed.

Instead of connecting with gmail, yahoo, facebook, whatever, you simply connect with your email address.

As said the main developer: "Persona is an easy way to sign in that enables you to use your existing email account. It's an open technology on the path to standardization."

Danyl Strype

Thanks Vivien, I understand the need to meet people where they are. Even the Pirate Party has a FaceBook page, and GoogleGroups atm ;)

This is why I suggest supporting an open standards like Person first, as an ethical statement, then rolling out FB/ G+ as a pragmatic statement (maybe a couple of weeks later to give people time to try out Persona).

If @robertguthrie is right that the code that's being developed to support G+ can be easily extended to support other SSOs, this needn't slow you down too much.

Raphaël Jadot

@benjaminknightloom and anyone whou could be interested, here is for your information a link to a related discussion in dev-identity (ml of Mozilla Persona)

Two quotes that may interest:

Sean MA:

If anyone needs help implementing, we're always here."

Andrew C:

100% and in fact, I'm always in Wellington (which I just found out in a
totally unrelated way that you're also here).

I may be popping into Enspiral for a beer o'clock in the next few weeks but ping me if you'd like me to come into town if you need any help or just fancy a chat before that.

Raphaël Jadot

Here is a copy of a reply sent by Dan Callahan in the identity/persona discussion about loomio..

I don't know if it's still possible to add comments to the discussion, but a few notes based on concerns that were raised:

  • "What proportion of visitors are likely to have a Persona account?"

All Gmail and Yahoo users effectively have an account today. That's over 700 million active addresses, or likely 60-80% of users on most English-language websites.

More importantly: People don't need an account beforehand. Persona is simply a nice, federated implementation of "Sign in with your email." If you have an email address, Persona will work for you today. In the worst case, it falls back to acting just like a traditional login system (verification email, etc), so the base case is identical.

  • "We've been working on SSO for Loomio, starting with Google Accounts support"

I'd humbly suggest that Loomio explore Persona first, as it acts as a superset of Google login, with additional privacy-preserving features. More info.

Raphaël Jadot

I'd really like to insist on what has been said in my previous comment: there are in fact more people "ith a persona account than a google account :)

Chris Taklis

@raphaeljadot you don't know that. i mean that more people have persona account than a google account.

i think the best it to have a multiple option to login with what everyone has. It can be google, yahoo, hotmail, facebook, persona, openid, etc.

It is more equal to all than to say to other before you login you must have account to persona or to google only.

Raphaël Jadot

@christaklis it's simply because every one who has a google account has a persona account (explained in a previous comment) or in this link in addition to yahoo accounts (yahoo + google + other persona account > only google :)

Raphaël Jadot

@christaklis in fact, a persona account is not an account by itself (it's not openid, for example). It's only related to your email address, which means by only having an email address you have a "persona account". The advantage is that if you are already connected with yahoo or google, you don't have to enter a different password thanks to identity bridge

Chris Taklis

Look @raphaeljadot ... i didn't know what was Persona and i of course haven't account. Now i know because of this discussion and i have made an account.

In Greece, very few people know about persona or openid. The most people want to register or login with their google/hotmail/yahoo/facebook account. and mostly of facebook account.

That general means that loomio "must" have as much options can for login. Look in some countries there have more knowledge of computers and some not. That mean that Loomio or general each tool must be as easy for everyone. That is my opinion.

Raphaël Jadot

@christaklis I totally understand what you mean In fact you consider persona as an account by itself. It's not. It's a login system. To make it simple You have a gmail account? It's a persona account. You have a yahoo account, it's a persona account.

About "facebook' it's another problem, because it's not related to an email address, unless you use a "@facebook.com" address. In this case, contrary to gmail and yahoo, a facebook account is not a persona account, still to make it simple (but the email address you used for creating your facebook account is a persona account)

It's why I made the proposal of implementing Persona "before" google and yahoo.

Chris Taklis

i read that to create persona account you have to choose what email address you want. that i did it to login in persona.

but how it is different. i still can't understand it.

you mean that all email adresses like google, yahoo and other is made by persona?

Raphaël Jadot

@christaklis have to run just now, but i'll come back with something i hope will be clear explanations :p

Charlie DeTar

I strongly support signin with persona. I've been following its development closely, and implemented it as the only sign in option for a collection of decision making tools I built (intertwinkles). A few caveats to be aware of:

  • Persona might require a little more redesign than just dropping in facebook connect etc. Its API is very javascript-native and ajaxy; to use it properly would require loading scripts on every page.
  • A fair number of users are confused about the privacy implications of persona. In my work with InterTwinkles, many users interpreted it as the opposite of what it is -- they thought it was an SSO that would reduce their privacy and collect more info about them.
  • Implementing more than one sign-in option can result in user confusion. I recommend choosing a minimum set -- loomio-specific login and persona is a good minimum, especially because persona bridges to other major services like Google and Yahoo.

Dan Callahan

Chris is raising some important points to consider when implementing Persona. Namely, very few people will click on a button that says "Sign in with Persona," because people don't know what Persona is.

The simple fix? Label the button "Sign in with your email," since that's what Persona is. The "Persona" part is just an implementation detail for developers. :)

Richard D. Bartlett

@dancallahan what about putting, say, the Google and Yahoo logos on the button too?

Benjamin Knight

Welcome to the community @dancallahan! Great to have your first-hand experience in here :)

There's really strong alignment between the values driving Persona and the motivations of Loomio, so I love the idea of working together.

I think there are real benefits in implementing Persona as an initial SSO for Loomio. The only potential downside I can see is that things might not be quite as accessible as having stock standard 'sign in with FB' 'sign in with gmail' buttons, but I'm sure we can design our way around things to maximise clarity and accessibility

Raphaël Jadot

@dancallahan thank you for joining and helping me in explaining with simple words :)
@christaklis dan is the man for better technical explanations :)
@richarddbartlett I think it could be a good idea to make a button such as sign with your email or yahoo or gmail :)

Matthew Bartlett

@robertguthrie I notice on my iPhone 3GS, using SSO Google, that it now asks me to sign in every time; and it doesn't go to the page I requested before sign-in (inbox).

Danyl Strype

Great to see Persona on the Loomio front page! Who would I have to buy a sandwich for to make it the first of the three (before FB and Goog)?

Danyl Strype

Also, if there were some experts who helped you with Persona integration, could someone from the Loomio crew put me in touch with them? We'd like to do the same thing for permaculture.org.nz.

Robert Guthrie

@strypey At first I built our own stuff to connect to Persona, down to http requests, following mozilla developer guides, then I dropped it all in favour of OmniAuth.

The nice thing we did was create an identity model (User has many Identities) so that users can authorise against many services and link each one to their user account.

Danyl Strype

Thanks to @matthewbartlett for the tip, and @robertguthrie (I see the resemblance now!) for the explanation. Being a power user rather than a coder, I have a rough idea what you're describing, but it would be good to get a more detailed explanation. What I need to understand is to what degree what you've done can cross over to a Drupal site.