Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Account to sign into a third-party website

I want to use google/yahoo ids to be used to login to my website. As its done in stackoverflow.

Can any one provide me a starting point.

like image 755
awake416 Avatar asked Nov 13 '10 16:11

awake416


People also ask

Should I use Google to sign in to websites?

Using the option to sign in with Google is safe. Google's strong security and OAuth system provide better protection than current poor password practices. Users should understand the privacy concerns. Authenticators share data and account permissions to third-parties while collecting user login and traffic.

How do I choose which Google Account to sign into?

Switch between accounts On your computer, sign in to Google. On the top right, select your profile image or initial. On the menu, select the account you'd like to use.

How do I unlink my Google Account from a website?

Select Connected accounts, Linked accounts, or Apps. This may be in the Google app's Settings section. Find the third-party account that you want to unlink from your Google Account. Next to the third-party account you want to unlink, select Remove or Unlink.


1 Answers

That authentication method is called OpenID. You can get details at the open id website.

If your webiste uses PHP on the server, here's a resource to get you started with OpenID and PHP

UPDATE

Since I've posted this, the world of open federated authentication has evolved quite a bit. If you're interested in this you may wish to look up OAuth v2 online, or check out these links: www.oauth.net and the Google resources on OAuth2 available here.

OAuth builds upon the concepts of OpenID and it expands the functionality quite a bit, in particular in the areas of not just providing authentication but also providing authorization for applications using a centralized provider of the user's choice (i.e. Google, Facebook, Twitter or your own :) )

like image 102
Mike Dinescu Avatar answered Sep 28 '22 03:09

Mike Dinescu