How to authenticate a user using a google account on our website. I want the user to be redirected to the Google login page and then redirected to my site. I want this implementation in PHP.
Authentication can be performed using OpenID. A detailed document is available at Google http://code.google.com/apis/accounts/docs/OpenID.html
Update: Links are deprecated by Google. Refer to the following links to use the Google OAuth2 API native documentation instead of worrying so much about reading libraries, because they are very complex and can lose focus.
You want OAuth .
oauth-php is a library that will help with this in PHP.
API Google .
: http://code.google.com/apis/base/client-download.html
php apis.
,
google kinsda , , . , , .
hope you read these blogs, i'm sure you will get the understanding you are looking for
Source: https://habr.com/ru/post/1775357/More articles:Динамические структуры не работают - c#How to remove duplicate values from IList, C # - c #Weird template includes and extends behavior in Django - includehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1775355/browse-folders-and-add-their-files-to-a-list-with-qt&usg=ALkJrhjMP0lSiaeubYcnl5HYGdNxp9dPlgWhen does Python perform automatic type conversion? - pythonLINQ Left Join On Unequal Strings - joinHow to hide the source - c #Multiple return statements in a PHP function - phpHide html page source - javascriptMemcached issue with Rails 3. Object not deserialized a second time - cachingAll Articles