oAuth is a protocol for developing password-less APIs. oAuth is a way for an application to interact with a service on a user’s behalf without having to know the user’s credentials. To begin, you will need to send the user to the authorization endpoint. Client ID should be set to your application’s client id. Redirect_uri should be set to the URL that the user will be redirected back to after the request is authorized. The redirect_uri should be set in the applications manager.
In this article, I am providing the list of plugins with stepwise guidelines to Enable Social Media oAuth login in WordPress.
Plugins to Enable Social Media oAuth login in WordPress :
Using WordPress Social Login, your blog’s users will be able to login and comment with social networks such as Twitter, Facebook, Google and Yahoo.WordPress Social Login also allows you to import users contact list from Google Gmail, Facebook, Windows Live and LinkedIn.WordPress Social Login gives you absolute control over users access to your website.
Step 1 : Install & Activate the WordPress Social Login plugin.
Step 2 : On your Wordress dashboard, head over to the Settings section. Click on the WP social login menu. You will see the following window.
Step 3 : Enable the options & enter the Application ID & the Application Secret Key for enabled social media. Save the settings.
Step 4 : Under the Bouncer tab, You will find New User Default Role option in the Membership Level section. Choose the role you want the new users to have. It is safe to assign them the role of subscriber.
Now, the login page will appear like :
2. Google Apps Login :
Google Apps Login allows one to login to your website using Google. This means that users can simply click on the Login with Google link on WordPress login screen if they have already logged into their Google account- no username or password is required! Google Apps Login uses the latest secure OAuth2 authentication recommended by Google, including 2-factor Auth if enabled for your Google Apps accounts.
Step 1 : Install & Activate the Google Apps Login plugin.
Step 2 : On your Wordress dashboard, head over to the Settings section. Click on the Google Apps Login menu. You will see the following window.
Step 3 : Enter the Client ID & the Client Secret Key & Save changes.
Note : By default it will treat new users as Admin of your website, So be very careful while using this plugin. Change the role of new users to subscribers or any other to keep your site safe.
Now, the login page will appear like :
3. Social Connect :
Social Connect adds social login buttons on the login, register and comment forms of your WordPress site. The buttons offer login and registration using a Twitter, Facebook, Google, Yahoo or WordPress.com account. It makes it super easy for new members to register with your site and existing members to login.
Step 1 : Install & Activate the Social Connect plugin.
Step 2 : On your Wordress dashboard, head over to the Settings section. Click on the Social Connect menu. You will see the following window.
Step 3 : Enable the options & enter the Consumer Key & the Consumer Secret Key for enabled social media. Save the settings.
4. GoogleOAuth :
This plugin allows to authenticate users against Google Apps OAuth2 API. Once installed and properly configured, it will start redirecting to Google consent page. After consent has been obtained, user is automatically created in WordPress database.
It give your visitors the option to sign-in to your site with their existing social network such as Facebook, Google, Twitter, Yahoo!, LinkedIn, Windows Live, MySpace, AOL and others. It helps to increase site registrations and generates referral traffic to your site by allowing users to easily register and login via an existing social network or email ID.
6. FacePress :
FacePress is a plugin that allows you to integrate facebook and your blog very easily. Its Key Features are : It allow your visitors to comment using their facebook ids, adds a like button to your posts, so your visitors can share your content, allows your blog users to sign in with their facebook ids. one click sign in!
I hope you find this tutorial helpful. Now you can comfortably Enable Social Media oAuth login in WordPress. If you have any query or suggestion regarding the same, do share with us.