Now a days Third Party Authentication or Social Login/Registration is getting much popular than conventional User Login/Registration process.
If you think generally that it’s a pressure on mind to remember every username/password you have used to access data on various site. To remove this UX hassle isn’t it a better approach to authorize the user from their corresponding social or third-party website profile.
Through pros and cons in modern sectors like e-commerce shop or popular blogging platform or even on business portal like directory listings site uses Social/Third-party Authentication.
WordPress Social Login Integration
Let’s move on discussion with example about Social/Third-party Authentication system based on popular CMS (Content Management System) like WordPress.
WordPress default integration :
In WordPress you are very popular with this User Sign-Up/Sign-in window.
What if I changed your default login/registration view and give you this extra two
Sign-in With helper process!
In WordPress it provides it’s user some
hook to integrate extra functionalities with it’s default behavior.
Social Login for WordPress WooCommerce BuddyPress bbPress we have used some of them too. To integrate extra login section with the default login form we have used this action hook
This plugin provides you ShortCode functionalities, which support you to integrate social login plugin into any post type, page, forms etc.
That’s why it’s more flexible to use. We have create a control section for the Site admin. Site admin can choose the user role whether the user need to be sign-up as a Admin or Author or Subscriber or Shop manager or a simple customer/user.
Site Admin can provide the redirect url section after they sign-up/in based on their activity role.
1. WooCommerce Integration
Along with the WordPress’s default login/registration process “Social Login for WordPress WooCommerce BuddyPress bbPress” has provided support to WooCommerce plugin.
In WooCommerce there is a action_hook named
, we have used that to add our social login activity in the checkout page. When not logged-in users buy any thing from shop and add them to cart, then during the checkout process this section will appear.
add_action('woocommerce_after_template_part', array( &$this, [YOUR_LOGIN_BUTTON_FUNCTION_NAME]));
2. BuddyPress Integration
template_notices action hook is used to connect social login plugin with BuddyPress plugin. Here is a sign-up page view with BuddyPress.
3. bbPress Integration
bbPress is a very popular forum software created by WordPress. If you have run a Blog/Forum platform then our Social-Login-Plugin can be a very good consideration to help you.
bbPress integration is done by connecting our Social-Login-Plugin via this two action hooks.
We shouldn’t do lengthy the discussion of how we managed to add them etc etc. It may make you bored.. Let’s move on how we can connect our site with any specific third-party website like (FaceBook, Twitter etc)
Example with FaceBook
We provide you a very simple & friendly options panel where you can Enable/Disable which authentication process you want. Suppose you want to integrate FaceBook authentication process into your site. Visit the Social-Login options panel from your site social login activity, Select
Enable of FaceBook authentication.
Then follow this procedure.
- From here create a FaceBook app.
- Click the top right create new app green button. fill all the fields then submit.
- after creating you app you will be redirected to your app dashboard.
- From there go to settings panel and copy api key and api secret key.
- set app domain to ur domain name(just domain name no http/https). then from bottom add platform button set platform to website and set site key to ur website url.
- Then click save & copy your api key and secret key.
Your next steps are inside your site’s Social Login Options Panel.
- Paste the APP-ID & Secret Key from the previous copy inside the text field of FaceBook section.
- Then save it.
Your FaceBook integration is Done!!
Look it’s that simple of using this plugin. You can follow up this similar procedure in every third-party authentication we are going to provide to you.
Let’s discuss the features we are offering to you.
- 9 Third-party Social Login Supported!
- WooCommerce Supported.
- BuddyPress Supported.
- BBPress Supported.
- Envato Product Purchase Key Verification.
- MailChimp Subscription.
- Turn on/off facilities for any features.
- ShortCode is provided for social Login button.
- You can set any role for user to register.
- You can also set redirection url after a user get registered.
Two special feature
We have Provided Envato authentication process to for a large number of envato users.
For Envato users site admin can register an app from Envato App Link
After sign-in into Envato account register a new app with necessary fields. It will return an authentication key
Copy this authentication key and paste it into Social-login settings panel envato section.
Twitter confirmation process
After twitter authentication generally it didn’t send any confirmation towards users. That’s why we have created a Twitter Confirmation process which is supported by google re-captcha.
WordPress Social Login Integration Video Tutorials
Thanks for your reading. Hope you have enjoyed it!