So you can verify the user simply by using social login through Facebook, twitter, yahoo, gmail etc.
Social login using codeigniter is very easy you just need to do some simple task. First download the file from GitHub link this.
Now Extract the file and open it
Now open Social-CodeIgniter-for-CodeIgniter3.0.1 and you will see the application folder.
Now download the codeigniter from link
Extract the file and place in the local host and rename with name login. Open the folder and your folder structure will look like this
Now delete the application folder from this folder. Don’t get confused we will copy the application folder in place of this folder from the file we have downloaded from GitHub.
Open Social-CodeIgniter-for-CodeIgniter3.0.1 which you have downloaded from GitHub and you will see the application folder.
Copy this folder in the codeigniter folder in place of the application folder you have deleted.
Now open the file route.php inside the config folder and replace
$route['default_controller'] = 'Welcome';
$route['default_controller'] = 'hauth';
Now run the url http://localhost/login/
You will see your browser like this
Now create the application on Facebook developer page and activate the application. After creating the application your application will look like this. Follow the instruction marked in red. As you are testing on local host App Domains and Site URL must be local host.
Now open the config folder and and look for the file name hybridauthlib.php Open this file and copy and paste the Facebook App ID and App Secret in the file
Now you can do login using Facebook into your website. Hope this tutorial Multiple social login using Facebook, twitter, yahoo, gmail in codeigniter will help you. You can create the API for the rest social login and place the App ID and App Secret in the hybridauthlib.php.