Monday, August 06, 2012

Tutorial Build a one-click registration form powered by Google

Do you want to share?

Do you like this story?

DEMO      -      DOWNLOAD     -      SOURCE



Do you know that you can use Google’s services to build a one-click registration form for your web site? Everyone with a Google Account can then press a button and instantly sign up for your application with their email, name and photo.
This service is called federated login, and is built on top of the OAuth2 protocol. This is a complex process that involves several data-exchange requests between your server and Google, but we will leave all this to Google’s PHP Library, whcih will handle nearly everything on the server side.
Using this login/registration flow can simplify things for both you and your users. Here are some of the benefits:
  • No need to create and validate registration and login forms;
  • No need for a “forgot password” feature;
  • Greatly simplified login/registration flow – you get the person’s email, name and photo with only one click;
  • The email is already validated by Google, so you don’t have to send a validation message.
  • Great security on Google’s part.
Of course, this will only work if the person has a Google account, so it might make sense to have this in addition to an existing registration system. Let’s get started!

YOU MIGHT ALSO LIKE

0 komentar:

Post a Comment

Advertisements

Advertisements