I want to implement a login with a Google account using OpenID, but I have no idea how to start this procedure because I have no idea about how to do it. So is there any step by step guides for this so that I can easily implement a Google account login with CodeIgniter in PHP.
I've found only this but I cant understand it properly so is there any guides or any libraries to login with a Google account?
At first download openid.php and put in your codeigniter root folder.
1. copy the code and save as ..../controller/logingoogle.php
2. copy the code and save as ..../views/googleLoginView.php
3. copy the code and save as ..../models/login_model.php
Download LightOpenID. Create the login.php file, and paste the following code into the file.
Create the index.php file, and paste the following code into the file.
This is all you need to do. The code has been taken from Google Login with LightOpenID.