Work with Google OpenID

I'm trying to implement Google OpenID for my site, but I'm struggling to figure out how to handle the OpenID response that I get.

At the moment, when you click on the login button, it will lead you to the Google site, ask you to log in there, and when I click "Login", it will return me to my site, and I get the following URL

http://mysite.com/return.php?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0          
&openid.mode=id_res          
&openid.op_endpoint=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud          
&openid.response_nonce=2009-11-07T02%3A50%3A43Zv7QGuR9bs7yijw          
&openid.return_to=http%3A%2F%2Fmysite.com%2Freturn.php          
&openid.assoc_handle=AOQobUfDUg3KHwhcQlAgh4cjISdyflaGuGzWJEpNzR8TnufNIvKLBex4
&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle          
&openid.sig=FRIZWu78OrjWgb%2Fkiqq%2B63Zs8Pk%3D
&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawn34aUewQCm4U9DSwJFm4rVyyw9Zi6S_1k
&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawn34aUewQCm4U9DSwJFm4rVyyw9Zi6S_1k

Now I absolutely do not know what to do with it.

Can someone point me in the right direction?

thanks

+3
source share
3 answers

php-openid, OpenID - PHP. OpenID , (, ).

openid , , , , .

: OpenID " " "". Google " " (, ).

Google OpenID.

.

+3

PHP openID OpenID PHP. Andrew Amott, .

0

Now Google is very easy to handle OPENID requests and other things for implementations, just go to https://code.google.com/apis/console , known as the developer console and create a project, and you need to click on the Identification Toolkit and provide information and just provide a simple website link and implement OPENID

0
source

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


All Articles