• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Creating a Login Page with Google Account PHP

By Abhishek Ghosh June 25, 2014 7:19 pm Updated on June 25, 2014

Creating a Login Page with Google Account PHP

Advertisement

Creating a Login Page with Google Account PHP is an Example of using Third Party OpenID provider. Here is Source Code and Some information. We already have discussed what is OpenID. For example, Google App Engine applications can authenticate the users using OpenID identifiers. (OpenID is experimental.). Google has separate documentation on it. One can read the official documentation here :

 

Vim
1
https://developers.google.com/appengine/docs/php/users/

 

We can use PHP as Programming Language as most web host has PHP enabled. There is LightOpenID :

Creating a Login Page with Google Account PHP

 

Vim
1
https://github.com/brice/LightOpenId

 

It possibly looks scary but it is easy in one file, get this LightOpenID one file from my GitHub Gist. You can git clone it or wget the raw file from SSH.

Advertisement

---

 

Creating a Login Page with Google Account PHP

 

Please make sure that you are using all the latest resources, our resources might be older and with time, you might need adjustment. Because OpenID identifiers are provided by a large number of popular websites and services, including Google, supporting OpenID is a powerful way to integrate your app with Google App Marketplace and make it broadly accessible to users. For App Engine, there will be difference with our method. In fact you can do a simple GET request to retrieve user data :

 

Vim
1
https://www.google.com/accounts/o8/id

 

So, this is the OpenID Provider’s URL in our case. So to render the things on a page, we need something like this :

Officially, Google OpenID app can authenticate users using any one of 3 options:

  1. A Google Account
  2. An account on your Google Apps domain
  3. An OpenID identifier

You can see the source code of a WordPress Plugin for full reference :

Vim
1
http://plugins.svn.wordpress.org/nextend-google-connect/tags/1.4.58/

Google Apps Login Plugin uses the latest secure OAuth2 authentication recommended by Google, including 2-factor Auth if enabled for your Google Apps accounts :

Vim
1
http://plugins.svn.wordpress.org/google-apps-login/tags/2.4.4/

So, some source code and example principle is provided here, depending on your need, you have to implement what you want.

Tagged With code for create a Google account in php , creating a login page on google , creating login page by google , inurl:account php?id= , login page in php
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Creating a Login Page with Google Account PHP

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • What is OpenID?

    It is quite common to ask What is OpenID. OpenID is a decentralized authentication system to login using credentials from OpenID providers.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy