Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Nov 07, 2011 2:18 pm 
Offline
Newbie

Joined: Mon Nov 07, 2011 2:11 pm
Posts: 2
Website: http://www.mockuptiger.com
Location: United States
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

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


Top
   
 Post subject:
PostPosted: Mon Nov 07, 2011 8:27 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
It looks OK for me... after approving the request, I get redirected to:

Code:
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


which returns content:

Code:
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


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.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Nov 07, 2011 9:03 pm 
Offline
Newbie

Joined: Mon Nov 07, 2011 2:11 pm
Posts: 2
Website: http://www.mockuptiger.com
Location: United States
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group