How to Add Social Login Plugin to WordPress Website (Easy Guide)
Do you want to add social logins to your WordPress website?
The process of social login uses the existing social media credentials of a user so that they won’t have to go through the hassle of filling out registration forms. With social login, the users can immediately sign up for an account on your website and start accessing your services without delays.
In this article, we’ll show you how to add social login plugin to WordPress site using the LoginPress plugin's Social Login add-on.
Why Should You Add Social Logins to WordPress?
Adding social login to your WordPress website takes your website to the next level by facilitating the visitors who wish to become your registered users. Here are a couple of ways social login benefits your website.
Users Hate Creating New Accounts
Remembering usernames and passwords for every account is a huge hassle. Similarly, filling out the registration form when they wish to access your services is a significant reason many users close the tab and move away from your website.
Social login removes these hassles by allowing the users to register and log into your website with a click by providing their social media credentials as a substitute for the long registration forms.
Social Login Saves Time
Social login is convenient as users can quickly create an account on your website using their social media accounts instead of wasting time filling up the website registration form.
With social login to your website, users can quickly access your content or services without hassle. This is particularly important for users who need quick one-time access.
Social Login Prevents Password Fatigue
Password fatigue is a phenomenon where users find creating and remembering passwords a serious issue affecting their daily lives.
From the security perspective, password fatigue could result in weak passwords and thus weaken security. As a result, cybercriminals can easily break into your website.
Social media platforms generally enforce a strong password policy where users must create strong passwords for their accounts. Social login brings that security to your website by using those strong credentials for your website login.
You’ll See Less Failed Website Logins
Failed login attempts generally translate into a poor user experience. Additionally, many websites limit the number of login attempts as protection against brute force attacks. However, many failed login attempts are from users who forgot their credentials.
Social login minimizes the risk of failed login because the users don’t have to remember anything. They can quickly log in and go to their desired section of the website.
Social Login Increases the Accuracy of User Data
Most users admitted that they enter fake information or leave incomplete forms when creating a new account on a website because they don’t want to give out their information because of privacy concerns.
Website owners use user data to target the right segments in marketing campaigns. Social login ensures that the user information is correct and that the users are properly segmented. As a result, the marketing campaigns are correctly targeted and result in better ROI.
How to Add Social Login Plugin to WordPress Site With LoginPress
The LoginPress Social Login Premium add-on simplifies user signups by allowing them to easily register and log in to your website using their social media accounts, including Facebook, Twitter, or LinkedIn.
The Social Login add-on also reduces spam and bot registration. This is an important benefit for websites that use user data for segmented offers and location-specific campaigns.
Step 1: Download the Social Login Add-on
The first thing you need to do is download the Social Login add-on.
Log in to your WPBrigade account and navigate to the Downloads tab.
Once you’re on the Downloads tab, look for the Social Login add-on and click Download.
Step 2: Install and Activate the Social Login Add-on
After downloading the add-on, you need to install and activate it. For this purpose, go to the left sidebar of the WordPress admin dashboard, navigate to Plugins, and click the Add New option.
On the Add Plugins page, click the Upload Plugins button. Next, click the Choose File button. A popup will open up where you can select the downloaded file.
When done, click the Install Now button.
Step 3: Set up the Social Login Add-on
Go to the left sidebar of the WordPress admin dashboard, navigate to LoginPress, and click the Add-Ons option.
Next, hover over the Social Login option and enable it.
Now that the plugin is activated, you need to navigate to the LoginPress settings. On the Settings page, you’ll see the Social Login tab.
Add Facebook Login With the LoginPress Social Login Add-on
Facebook has a huge user base, and allowing users to use their Facebook accounts to log into your website is a great idea. Let’s see how the Social Login add-on sets up a Facebook login for your WordPress website in a few minutes.
Note: You need a Facebook for Developers account to integrate Facebook login. We recommend you set up a Facebook for Developers account before proceeding with the following steps.
Go to the Social Login tab of LoginPress and go to the Settings tab.
To enable Facebook login, toggle on the Facebook Login.
Now go to Facebook for Developer and click Create App (found under My Apps). Select the Build Connected Experiences option and click Continue.
Now, fill out the form, click Create App and add a product for the app. In our case, it's Facebook Login. Click Set Up under Facebook Login. Select the platform for this app (in our case, the Web). Enter your web URL and save the settings.
Next, select the category and click Confirm. You will get the AppID and App Secret key. Copy these to a safe location because you must add these two to the LoginPress Social Login settings. Don’t forget to save the settings after you have added the values.
Now go back to the Facebook for Developers account. Go to Facebook Login, and then Settings. Add the valid OAuth redirect URIs here.
Now, scroll down on the same screen and click the save the settings.
On Facebook for Developer's page, Go to Facebook Login > Settings from the left side menu.
Add valid OAuth redirect URIs here:
Note: We are performing it on a local environment; in your case, replace /loginpress.local/ with your domain name.
When you are done, click Save.
The final step of the process is to mark the app Public on Facebook for the Developer's page. For this, check the box in the top bar. Remember to Save the settings.
Add Twitter Login with LoginPress Social Login Add-on
First, you’ll need to enable Twitter Login in the Social Login’s Settings tab.
Once you’ve enabled Twitter Login, other fields will open up, including Twitter API Key, Twitter API secret key, and Twitter Callback URL.
Next, you’ll need to register your website with Twitter at Twitter app.
Note: If you’re registering a fresh Twitter Developer Account, you might have to wait a couple of days for authentication.
When you are done, you can proceed to the next step. Now, click on the “Create an App” Button.
A new screen with two tabs will open up. First, you’ll need to enter your app name.
You’ll need to click the “Next” button in the bottom right corner when you’ve selected the app name.
From this tab, copy the API Key and API Secret.
Now you’ll need to get back to the Social Login’s Settings tab and paste API Key and API Key Secret right next to the Twitter Login fields.
Once you’ve pasted the Twitter API key and Twitter API secret key, you’ll need Twitter Callback URL.
You don’t need to go anywhere for the Twitter Callback URL as it is under the Twitter Callback URL field. Copy and Paste it into the field.
Click the Save button when you’re done.
Add Google Login with LoginPress Social Login Add-on
First, you’ll need to enable Google Login in the Social Login’s Settings tab.
Once you’ve enabled Google Login, other fields, including Client ID, Client Secret, and Redirect URI, will open up.
You must fill in these fields to integrate the LoginPress Google Login on the login and registration form.
You must register your website with Google APIs at Google Developer Console. When you are done, you can proceed to the next step.
Note: You’ll need to Login via your Google account.
Next, you’ll be on the Google Cloud screen.
Click on the “CREATE PROJECT” button in the upper right corner.
You’ll move to a new screen. From here, fill in the Project Name and Location fields.
Note: If you have more than 1 project in Google APIs, please confirm your project from the top left dropdown project list.
Click on the “OAuth consent screen” from the left side menu.
For User, Type chooses External and click Create button.
The OAuth consent screen WILL OPEN UP. Simply fill out the required informational fields, including Application Name, App domain links, and Authorized domains.
Save and Continue.
Note: For the Scopes and Test Users section, leave everything and click Save and Continue.
Go to the Credentials page from the left sidebar and select Create Credentials.
Next, select “OAuth client ID” from the dropdown.
Select the Application type here. In our case, it's a Web application.
Fill out the required informational fields (Name of your Application & Authorized redirect URIs) and save the settings.
Note: Here are the Authorized redirect URIs: http://loginpress.local/wp-login.php?lpsl_login_id=gplus_login
After clicking the Create button, a popup screen with OAuth Client Created heading will appear.
It has Your Client ID and Your Client Secret keys.
Once you’ve pasted the Your Client ID and Your Client Secret, you’ll need Redirect URI.
You don’t need to go anywhere for the Redirect URI as it is under the Redirect URI field. Copy and Paste it into the field.
Note: Change "/test.local/" to your domain name.
Click the Save button when you’re done.
Add LinkedIn Login with LoginPress Social Login Add-on
First, you’ll need to enable LinkedIn Login in the Social Login’s Settings tab.
Once you toggle on the Enable LinkedIn Login, other fields, including Client ID, Client Secret, and Redirect URI, will open up.
You must fill in these fields to integrate the LoginPress LinkedIn Login on the login or registration form (where you prefer).
Don’t worry! Simply follow the rest of the steps to get these keys. Buckle up!
Next, you’ll need to register your website with LinkedIn a LinkedIn developer account. When you are done, you can proceed.
Now, click on My Apps to Create a LinkedIn Application.
Here, you'll need to fill out the required information fields on the form, including:
- App Name : Fill in the desired App name.
- App Logo: Add the logo of your app.
- Legal Agreement: Tick the Legal agreement checkbox to continue creating the app.
After submitting the form, Check out the Auth tab in your newly created App. Auth tab will have Redirect URLs and Credentials (i.e., Client ID and Client Secret).
Now, copy this http://loginpress.local/wp-login.php?lpsl_login_id=linkedin_login link and paste it to Authorized Redirect URLs.
Click Update when you are done.
Next, you can copy the Client ID and Client Secret keys from Auth Tab.
Paste the Client Id and Client Secret Keys right next to the LinkedIn Login in the Social Login Settings tab.
All done; you can now click the Save button to see LinkedIn social login on the login and registration form.
Redirect URI is given right under the Redirect URI field. Simply copy and paste it into the field.
Note: Change "/test.local/" to your domain name.
Conclusion: Social Login Plugin to WordPress
Adding Social Login for all users is a simple yet effective way to alleviate online registration headaches. While WordPress doesn't offer this functionality as a part of the core features, the LoginPress Social Login add-on fills in the gap nicely.
Social login integration with the WordPress website is getting popular as it simplifies the registration and login process for users. Social login is also great for website owners as they get cleaner user data, resulting in better campaign ROI. So the social login plugin can be the best for you if you have a WordPress website.
We hope you'll now understand how to add social login plugin to WordPress. Start using the LoginPress Social Login add-on and free your users of login headaches on your WordPress website.
That's all! You can also check out How to Change or Reset a WordPress Password (2022) and How to Redirect Users After Successful Login in WordPress
Not using LoginPress yet?What are you waiting for?
Frequently Asked Questions
Can I enable the Facebook login feature with the LoginPress Social Login add-on?
Do I need to use a separate plugin to add Google login on my website?
- 13+ Best WordPress Social Media Plugins (2023)
- 9 Best WordPress Redirect Plugins 2023 (With Exclusive Features)
- 9 Best WordPress Security Plugins (Secure Your Site Today)
- 17 Best WordPress SEO Plugins – Expert Pick (2023)
- 11 Best WordPress Hosting Providers 2023 [Tested+Compared]
- Why Use WordPress in 2023? [10 Amazing Reasons]
- Top 60 Free WordPress Plugins 2023 (Best Compilation)
- How to Create a Mobile-Friendly Login Page Using LoginPress
- How To Build a WordPress Website [The 2023 Way]
- 5 Best Social Login Plugins for WordPress in 2023 (Free and Paid)
- LoginPress VS Colorlib Login Customizer: Which is Best?
- 7 Best WordPress Limit Login Attempts Plugins in 2023
- How to Monetize Your WordPress Blog: Themes, Tips, and Strategies
- What’s New in WordPress 6.2 (Features and Screenshots)
- How to Add WooCommerce Social Login to Your WordPress Site
- How to Add Custom Fields in WordPress User Registration Form
- 7 Best Practices to Limit WordPress Failed Login Attempts
- How to Add Custom CSS to WordPress Login Screen
- How to Reset a WordPress Site (The Easiest Way)
- How to Turn off Comments in WordPress (5 Easy Ways)
- How to Customize and Secure a WordPress Login Page
- How to Remove “Proudly powered by WordPress” Text From the Footer
- How to Change Your WordPress Login Page URL (4 Easy Steps)
- Benefits of Social Login for WordPress Site
- 5 Best Login Widget Plugins for your WordPress Site
- How Social Login Improves CRO on Your WordPress Site
- How to Add CAPTCHA to WordPress Login and Registration Form
- 2 Easy Ways to Unblock Limit Login Attempts in WordPress
- How to Add Front-End Login Page and Widget in WordPress
- 13 Best WordPress Login Page Design Examples
- How to Display Custom WordPress Footer on Login Page
- How to Redirect WooCommerce Users After Login
- How to Redirect Users to the Referrer Page After Login
- 10 Most Common WordPress Login Issues (How to Fix Them)
- 9 Best Social Sharing WordPress Plugins (Free and Paid)
- How to Create Custom Welcome Messages for Your WordPress Website
- How to Embed a Video on WordPress (3 Easy Ways)
- How to Hide WordPress Login Page From Hackers (4 Easy Methods)
- 9 Most Popular Social Media Login APIs
- 2022 WordPress Black Friday and Cyber Monday Deals
- 11 Best WordPress Affiliate Plugins to Try in 2023
- WordPress Login Security: 13 Ways to Secure Login Page
- 15 Best Jetpack Alternatives for WordPress Websites
- 10 Best PayPal Plugins for WordPress
- How to Duplicate a Page in WordPress
- 10 Best WordPress Backup Plugins
- 15 Must-Have WordPress Plugins for Bloggers in 2023
- 9 Best RSS Feed Plugins for Your WordPress Site (Free and Paid)
- How to Upload a PDF to WordPress
- How to Add WordPress Login Widget to the Sidebar (Easy Guide)
- How To Change The Theme for Your WordPress Website
- How to Unpublish Your WordPress Site (An Easy Guide)
- How to Change the Font Size on the WordPress
- How to Add Social Login Plugin to WordPress Website (Easy Guide)
- How to Change Domain Name in WordPress
- How To Add Google Fonts With LoginPress
- How to Customize the WordPress Login Page (Easy Guide)
- How to Easily Change the Login Logo in WordPress
- How To Find Your WordPress Login URL [The Easy Way]
- How To Use Vanta.Js as Background
- How to Change or Reset a WordPress Password (2023)
- How to Redirect Users After Successful Login in WordPress
- LoginPress with GDPR to Make Your Site Compliant
- 9 Best WordPress Login Plugins In 2023 (Expert Pick)
- Login Page Language Switcher in WordPress 5.9
- How To Limit Login Attempts in WordPress (Easy Guide)
- How To Design WordPress Login Page Without Coding
- How to Use LoginPress with WordPress.com?
- How to Disable XMLRPC.PHP in WordPress
- WordPress Security – Protect Website from Hackers
- How To Use LoginPress With WooCommerce?