This plugin is meant to integrate customized social login in a WordPress website. This plugin enables Google, Twitter login.
Download the plugin. Install and activate it on your WordPress website. Then run composer install
from command line inside your plugin directory to install vendors.
- Should have composer installed on your server.
- Knowledge of how to install packages via composer
- Google and Twitter apps on your developers account, and have keys available to use.
- Two WordPress pages with URL google-login.php and twitter-login.php
What things you need to install the plugin and how to install them:
Go to this plugins folder, and run the following command from command line:
composer install
Then go to files google-login.php and twitter-login.php to add your client key and secret.
Once the composer has installed the required packages and you have updated the keys, you can use links /google-login
and /twitter-login
on anchor tag to take users for authentication and login to your site.
<a href="/google-login">Sign in with Google</a>
<a href="/twitter-login">Sign in with Twitter</a>
Plugin will login the existing users, while register and sign-in the new users.
- Abhishek Jain - Initial work
This project is licensed under the MIT License - see the LICENSE.md file for details