Google openid redirection issue

Hi,

I just got my linode setup for my webapp and testing the google open id access.

It is a very basic test but the redirection is not happening for the originating URL

For e.g https://www.wireframes.org/ui/example-google.php

This url after authentication should return to the same script but it is simply going back to just https://www.wireframes.org

To compare, the same script here return backs to the script

http://www.mockuptiger.com/wireframe/mo … google.php">http://www.mockuptiger.com/wireframe/mockups/example-google.php

The wireframes site is hosted on linode and newly setup so I am not sure if the firewall or some redirection setup is causing it.

Can someone point me in the right direction?

Thanks

Nilesh

2 Replies

It looks OK for me… after approving the request, I get redirected to:

https://www.wireframes.org/ui/example-google.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=2011-11-08T00%3A18%3A52Zj3tK9jNCeE_uIQ
&openid.return_to=https%3A%2F%2Fwww.wireframes.org%2Fui%2Fexample-google.php
&openid.assoc_handle=AMlYA<redacted>ZEddp
&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.namePerson_first%2Cext1.value.namePerson_first%2Cext1.type.contact_email%2Cext1.value.contact_email%2Cext1.type.namePerson_last%2Cext1.value.namePerson_last
&openid.sig=2xrm<redacted>B4%3D
&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItO<redacted>ELc
&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItO<redacted>ELc
&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0
&openid.ext1.mode=fetch_response
&openid.ext1.type.namePerson_first=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&openid.ext1.value.namePerson_first=Ryan
&openid.ext1.type.contact_email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail
&openid.ext1.value.contact_email=rtucker%40gmail.com
&openid.ext1.type.namePerson_last=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast
&openid.ext1.value.namePerson_last=Tucker</redacted></redacted></redacted></redacted>

which returns content:

User https://www.google.com/accounts/o8/id?id=AItO<redacted>UELc has logged in.
User information

mode: id_res
identity: https://www.google.com/accounts/o8/id?id=AItO<redacted>UELc
email: rtucker@gmail.com
first_name: Ryan
last_name: Tucker</redacted></redacted>

User agent is Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.21 Safari/535.7, originating IP address was 2001:470:8dde:2:fdb8:90a2:3b6f:4304.

Hopefully I removed anything in there can be used to haxxor me :-). My e-mail address is public information, as is my name.

Thanks hoopycat

It is actually fixed now.

The https was not being recognized inside php and hence it was not able to send a proper return url.

But now it is fixed and hence it works.

Don't worry, that example-google.php does not store anything, just echos the stuff for confirmation

Nilesh

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct