Google account to access a third-party website

I want to use google / yahoo ids that will be used to log in to my site. How is it done in stackoverflow.

Can anyone give me a starting point.

+4
source share
3 answers

This authentication method is called OpenID . You can get information on the open id website.

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

UPDATE

Since I posted this, the world of open federated authentication has changed a bit. If you are interested, you can find the OAuth v2 online link or check out these links: www.oauth.net and Google's OAuth2 resources are available here .

OAuth is based on OpenID concepts and extends functionality a bit, in particular in areas that not only provide authentication, but also provide authorization for applications using a centralized user select provider (for example, Google, Facebook, Twitter or your own :))

+3
source

I used JanRain for the same. It is free and integrates with many different login providers, such as Facebook, Twitter, Google, OpenId (usually), yahoo, msn and many others. There is code that allows you to integrate it with almost any programming language / platform you want.

+1
source

try this sample in CodeProject.

http://www.codeproject.com/KB/web-security/OpenIdFormsAuth.aspx

It worked well with me.

+1
source

All Articles