identity & security

Social Login On The Rise: How Secure Is It?

Find out if social login is really all it's hyped up to be.

Forrester Consulting analysis determines that using Auth0 can yield a 548% ROI and $3.7M in identity-related savings. Read the full report: Total Economic Impact of Auth0.

The popularity of social login is on the rise.

For users, it provides a seamless, frictionless way to login to the sites and apps that they use most frequently.

For developers, it provides a way to quickly implement a secure signup and login system—and creates tons of opportunities for personalization of the user experience.

This seemingly win-win scenario can smell a little suspicious—is social login too good to be true? More to the point, is it really as secure as everyone thinks?

The answer is yes: social login really is secure. But even the most secure method of authentication is still liable to user error and risk.

Social Identity Providers Give You Peace of Mind

One of the biggest value propositions of social login is also the reason that it really is as secure as you think it is: Google, Facebook, LinkedIn and others have millions of users.

With these three social login options you could give the vast majority of your user base a social option for logging into your app. The more popular the site, the more popular the social login integration.

Social Connections Growth

Because of all those users, companies of that size also have a ton to lose in the event of a password breach, and they employ some of the world's top security experts to make sure that never happens.

Smaller sites just don't have the same kinds of incentives pushing them to put security first. Sometimes even well-known sites, like Gawker, just aren't thinking that someone would try and compromise their users' information. That's largely because they don't face the same kind of public cataclysm that a Google or a Facebook would face in the same kind of situation.

When holes in the security systems of larger, more well-known sites are discovered, they do tend to make the news—which can easily bias you to think that they're insecure. The truth is that these incidents are almost always the results of white hat hackers exposing flaws for the purpose of bolstering their reputations or collecting on lucrative bug bounties.

Password Reuse is Still a Problem

The one major flaw with social login, if we're pragmatic about how users really behave, is password reuse. 59% of people have reported using the same password across multiple sites. That makes their accounts significantly more vulnerable, because a breach anywhere can lead to multiple compromised accounts.

This problem gets worse when you're talking about a social account linked to many different apps and sites. If you use the same password across different sites, and your password is hacked on a site that takes security less seriously, attackers could gain access to your main social media account. If you're using that account to log in elsewhere, you could suddenly have a huge problem on your hands.

Back in 2011, when the service Trapster was hacked, that's exactly what happened to its users—and not just current ones. Some people had tried Trapster years prior, deleted the app, and Trapster was still storing their passwords.

Account Hacked Tweet

The lesson here is that if you're using social login, you should absolutely make sure that the password you're using for your Google/Facebook/etc. account is unique from all the other passwords you use.

Better yet, implement multifactor authentication on that account. Most people don't want to have MFA on every single account that they have across the internet, but if it's at least implemented on your main Google or Facebook account, then you have a higher bar of security on the one site or app where you need it the most—you'll have the best annoyance:value ratio that you can get.

Privacy Settings Need to be Monitored

Social login gives app developers great opportunities to personalize the user experience and leverage mobile analytics for growth. But all that power has to come in balance with users' needs for privacy.

When you permit one of these platforms to act as your identity provider on other sites, they're accessing your personal data and giving other apps access to that personal data. Staying on top of the permissions you're giving out is good security practice—as many learned in 2016 when Niantic's Pokemon GO requested (and received) full access to their Google accounts.

Google offers a dashboard to remove apps connected to your account, though you can't refine permissions—only block apps out completely.

Google Social Settings

With Facebook, you have some more flexibility about the kind of information that you want apps to be able to access. Scroll down on the Settings → Apps page and you can specify on a granular level what you want other developers to be able to pull from your profile:

Facebook Social Settings

You can do this on an individual basis the moment you choose to sign up for a site through your Facebook login.

Social Login with Indeed

Social Settings with Indeed

Social Settings with Indeed

The best way to know what you're giving up to the different apps you use is simply being vigilant when you sign up for a new service. Inspect the permissions that you're granting, and if anything looks really off, reconsider whether you need this particular tool. No app should be asking for full access to your Google account, as Niantic did. Doing so puts your sensitive personal information in the hands of a service you know little about.

How Auth0 Can Help Securely Implement Social Login

In the end, social login is only as secure as your implementation of it. Auth0 has a wide range of SDKs to make it easy to get social login working with a wide range of providers, as well as a fully extensible system for creating custom social connections with any OAuth2 provider.

Auth0 Social Identity Providers

Setting up social login in Auth0 is easy:

  1. In your Management Dashboard, navigate to Connections and then Social.
  2. Find the social provider you want to use and hit the toggle.
  3. Select your application where you want to use the provider.
  4. Select the attributes and permissions you want to get from the provider, and hit save.

What are you waiting for? Check it out today 😄

Auth0 offers a generous free tier to get started with modern authentication.