Implement Social Login in a heartbeat with Auth0 and increase your registrations.
Social Login is single sign-on for end users. Using existing login information from a social network provider like Facebook, Twitter, or Google, the user can sign into a third party website instead of creating a new account specifically for that website. This simplifies registrations and logins for end users.
Adding Social Login to your applications has several perks.
Social Login is a simple process, with the following steps.
Auth0 supports 30+ social providers: Facebook, Twitter, Google, Yahoo, Windows Live, LinkedIn, GitHub, PayPal, Amazon, vKontakte, Yandex, 37signals, Box, Salesforce, Salesforce (sandbox), Salesforce Community, Fitbit, Baidu, RenRen, Weibo, AOL, Shopify, WordPress, Dwolla, miiCard, Yammer, SoundCloud, Instagram, The City, The City (sandbox), Planning Center, Evernote, Evernote (sandbox), and Exact. Additionally, you can add any OAuth2 Authorization Server you need.
Every provider has its own profile properties, required headers, and response format, and some use OAuth1 (Twitter) while others use OAuth2. Auth0 simplifies this for you, encapsulating the differences, and unifying the way to call providers and the information retrieved from all of them.
How about including Social Login in your application for free? Try our new free production-ready plan, which includes support for two social network providers of your choice. For more information, check our pricing page.
Tip: In the settings of each provider, there is a link explaining how to obtain your key for that provider. If you do that, the consent page will show your logo instead of Auth0’s and you’ll be able to use Auth0 to do SSO for these connections.
The most common identity providers are readily available on Auth0’s dashboard. However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.
Adding your custom connection is easy! Just create a custom connection, fill the configuration file by setting the required properties for your provider, such as Authorization URL, Token URL, Client ID, Client Secret, and so on. Add logic to the fetchUserProfile method to get the user profile from the provider and customize the returned JSON object that contains the user information. Finally, use your connection with any of the Auth0 standard mechanisms (e.g. direct links, Auth0 Lock, auth0.js, etc.) to login.
More information about creating your custom OAuth2 connections can be found here.
Remember, you can always use Rules for more sophisticated manipulation of user information. If you are creating your own OAuth2 connection, we recommend that you use Google OAuth 2.0 Playground, where you can experiment with the OAuth 2.0 protocol and APIs that use the protocol. You can walk through each step of the OAuth 2.0 flow for server-side web applications. At each step, you will see the full HTTP requests and responses.
Wanna try it out? Get Auth0’s free production-ready plan with support for up to 7,000 active users.
Start building today and secure your apps with the Auth0 identity platform today.