How to Add Social Login to WordPress Website
With a social login plugin, you can offer users the possibility to log in with their social media account (or leave a comment for example) on your WordPress website.
Social login is being used more and more often. On many websites, you can log in with your Google or Facebook account with one click. This is useful because you do not have to fill in a registration form and do not remember an (extra) password.
The data WordPress needs to create an account (e-mail address and name) will be removed from the Facebook or Google profile of the user in such a case, provided that he has given his permission. You can choose to offer social login, in addition to normal registrations, but you can also only allow social profiles to log in to your WordPress site.
There are several plugins with which you can easily add a social login function to your WordPress site. You can use this for example if you want to create a forum with bbPress, or if you want to build a community. Visitors can register on your WordPress website with an account from for example Facebook or Google. There is no need to fill in a registration form and you therefore also stop many SPAM registrations. Another big advantage is that users do not have to remember extra passwords to use your website.
To be able to use social login, you first have to create an “Application” at Facebook Developers (or at Google). This sounds very complicated, but fortunately, it is not too bad. You will first need to register with Facebook Developers with your own Facebook account. Then you have to verify your Facebook account if you have not done it before. You do this with your mobile number, for example.
1: Add product
After you have registered as a developer, you can start making a first “product”. Choose “Facebook Login” here by clicking the “Set Up” button.
2: Add your website
Facebook will now ask you if you want to create a Facebook Login for an iOS or Android app or just for the Web (WWW):
Of course, you choose “Web”. Then Facebook asks for some general information about your website:
You will then receive a code from Facebook that you must add to your website. However, you do not have to do this now! As soon as you install a social login plugin, it will arrange all of this for you. Click “Next” a few times until you’re done.
There are many different plugins that add social login buttons to the login page of WordPress. When logging in to WordPress, users can log in easily and quickly by clicking on one of the social networks. We list a number of useful plugins. The free plugin WordPress Social Login adds social media buttons to your login form. You enter your Facebook Application ID and Secret for Google do you possibly do the same.
It takes some time to add a social login to your website. This has mainly to do with the fact that you have to make a Facebook (or Google) Application for it to work. Once you have done this, it is a matter of installing the plug-in, activating and filling in your Application ID (and Secret). From that moment on, users can log in with their social media accounts.