Wednesday 28 November 2012

Sign in with Google api PHP


Sign in with Google API is a common requirement for most of the web applications in these days. The implementation of this api is very easy as compared to others. OAuth and Open id methods are available for this. Here we are discussing about the Open ID method for Sign up/Sign in with Google.
You can Download the Google Open ID library from here. For integration, please follow the steps below.
1) Once downloaded, extract the zip and move the files to your desired location.
2) Run http://yourdomain.com/google-openid/example-google.php from your browser URL.
3) This will redirect you to the Google API, once you entered the login credentials the API will ask for your permission to use the basic details for the application. Up on giving permission, the file will show you basic information from your google account. That’s it..
No API keys/setting up required, no coding required, simple and easy way for Google login integration.
For more information about the OpenID you can visit Google development documents at https://developers.google.com/accounts/docs/OpenID
We hope that the documentation was helpful to you. If you have any questions, please feel free to contact us at support@innovativewebz.com

No comments:

Post a Comment