Comparing Authentication Methods for Mozilla Persona and Google+ Sign-In
- Ease of Integration
- Social Capabilities
- Platform Availability
- Which Should I Use?
In the previous two articles, I worked through building web sites using Mozilla Persona and Google+ Sign-In. In this article, I’ll discuss how the two authentication methods compare and what I learned.
Let’s recap the two sites. We used Mozilla Persona to authenticate users of a blog website. And for Google+ Sign-In, I created a site that lets users indicate a car they want to buy. Now let’s see how the two methods match up. I’ll be reviewing them based on ease of integration, social capabilities, platform integration, and general capabilities.
Ease of Integration
For a small- or medium-sized website, you can add Mozilla Persona support in under a couple of hours. There were few points of integration to worry about, and if you know how to make a server-side HTTP call and work with JavaScript, you are 80% done. Google+ Sign-In has a bit more complexity.
Every app that uses Google APIs has a common setup path that must be completed where you declare the APIs you will use and the paths that will directly interact with Google, and generate API keys. The first instance takes a while, but each new instance gets faster and faster.
If you stick with authentication only, the time needed to implement either is comparable.