How to implement gmail login?

How to implement site authentication using gmail, yahoo or facebook ID (not for OpenID login)?

PS: Using PHP.

+3
source share
1 answer

Google offers two login APIs: http://code.google.com/apis/accounts/docs/AuthSub.html http://code.google.com/apis/accounts/docs/OAuth.html

EDIT since AuthSub was officially deprecated on April 20, 2012 and will be closed on April 20, 2015.

You can use the new API. https://developers.google.com/accounts/docs/OAuth2

Yahoo also offers another one: http://developer.yahoo.com/auth/

+2
source

Source: https://habr.com/ru/post/1703620/


All Articles