Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a website to login in with Gmail, Yahoo, or Facebook accounts

How does Stack Overflow allow new users to login into Stack Overflow using their Gmail or Facebook or Yahoo accounts? I am working on a little project website and I was curious how Stack Overflow does this. Do I need to get permission from these companies to do this or can I just do it?

like image 992
milan Avatar asked Jan 09 '11 16:01

milan


People also ask

Should you link accounts to Google?

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.


1 Answers

StackOverflow (and all other StackExchange sites) use OpenID.

OpenID is a decentralized authentication protocol that makes it easy for people to sign up and access web accounts.

Yahoo, Google and facebook are all OpenID providers, so simply implementing it on your site will be enough for your users to be able to login using them (and any other OpenID provider).

There is no need to get permission - the permission will be gotten by the users of your application.

like image 110
Oded Avatar answered Oct 17 '22 11:10

Oded