Pages

Friday 14 March 2014

Google OpenID authentication in PHP

Google OpenID authentication in PHP

This post explains you about how to implement Google OpenID authentication in PHP.
In this post we are using  Openid API for google authentication. After download this script change database connectivity in inc/dbConnect.inc.php file and change $callback_website_url variable in login_process.php file.

Download Link   Demo Link

Sample database design for table name contact.
This table contains  id (primary key),tutorial and link.



dbConnect.inc.php 
Contains database connectivity code

 
index.php 
   
login_process.php 
Contains the login part and include openid api file.

 
google_landing.php 
 After Authentication, google will redirect page


 

No comments:

Post a Comment