


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. However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.Īdding 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. The most common identity providers are readily available on Auth0’s dashboard. One-click return experience: After users register in your application using Social Login, their return experience will be very simple, as they will probably be logged into the social network, and just one click will be enough to login to your application.Therefore, having Social Login ensure that you have accurate information about your users. Up-to-date profiles: Users do not tend to keep their profiles updated in most applications they use, but they do it in social networks.Using this data, you can target personalized content to the user. Access richer user profiles: Social network providers can give you additional information about users, such as location, interests, birthday, and more.Additionally, the providers will handle the password recovery process. If the provider shares this information ( Twitter does not share the user email address, for example) you will get a real email address rather than the fake addresses that some users typically use to register in web applications. Email is verified: The social network provider is in charge of verifying the user’s email.The survey also states that 77 percent of respondents say that “Social Login is a good solution that should be in any site.”
.jpg)
Some of these users would rather leave your site than register, which means that providing Social Login to your apps will increase the number of registrations to your site. Increase registrations: according to a Web Hosting Buzz survey: 86 percent of users report being bothered by having to create new accounts on websites.Adding Social Login to your applications has several perks.
