Question

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:

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top