我正在考虑通过谷歌进行身份验证。
我不明白它是如何工作的:http://code.google.com /apis/accounts/docs/OpenID.html#Samples
如果我通过将数据作为一个带参数的 url 输入到浏览器中来执行第二个请求,我会返回 XML 文件。我不应该取回样本响应 nr3 吗?
有人可以向我解释一下吗?
问题是,我试图对一些使用 google openid 身份验证的第三方应用程序进行排序,但它没有收到经过身份验证的用户的电子邮件回复,如示例响应 3 中所示。Alan
PS
我已经阅读了类似的问题及其响应并完成了页面如下:
I am looking into authenticating via google.
I dont understand how it works:http://code.google.com/apis/accounts/docs/OpenID.html#Samples
If i do that 2nd request by entering the data as one url with params into browser i get back XML file. Should i not get back sample response nr3?
Can somebody explain this to me?
The problem is, that im trying to sort through some third party app that uses google openid authentication and its not recieving authenticated users e-mail back, like in sample response 3.
Alan
PS i have read through similar questions and their responses and gone through pages like:
发布评论
评论(1)
什么样的 XML 文件?
请记住,像这样的
checkid_setup
请求不是您的应用程序旨在通过直接连接发出的请求,而是从用户浏览器发送的请求。因此,响应将是浏览器解析的内容,必要时提示用户登录,可能会询问用户许可或应该发回哪些值,只有在所有这些之后才发回一个重定向,如响应样本。What sort of XML file?
Remember that a
checkid_setup
request like that isn't something your application is meant to make with a direct connection, it's a request that's sent from the user's browser. So the response is going to be something for the browser to parse, prompt the user to log in if necessary, maybe ask the user for permission or which values it should send back, and only after all of that send back a redirect like in the sample response.