Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot GET /auth/google/return?... #9

Open
acertain opened this issue Dec 8, 2012 · 2 comments
Open

Cannot GET /auth/google/return?... #9

acertain opened this issue Dec 8, 2012 · 2 comments

Comments

@acertain
Copy link

acertain commented Dec 8, 2012

Cannot GET /auth/google/return?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=2012-12-08T05%3A52%3A32ZdyNV5PtUsSofmg&openid.return_to=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fgoogle%2Freturn&openid.assoc_handle=AMlYA9XZyQjKJi0wjPBaH3DmRxaiRLuZVQBlvW9ic9t56GHG7hLAcBCHLwkCDMjHYjQhZ9eH&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.firstname%2Cext1.value.firstname%2Cext1.type.lastname%2Cext1.value.lastname%2Cext1.type.email%2Cext1.value.email&openid.sig=kh%2BF03PMdXTj5nEJaw%2FabXFJO5oc8tVknnKHYWb%2F5zc%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlhMZ0Wqq3hwPHevjfWaiYnj7dK6Y6THks&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlhMZ0Wqq3hwPHevjfWaiYnj7dK6Y6THks&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ext1.mode=fetch_response&openid.ext1.type.firstname=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&openid.ext1.value.firstname=Carter&openid.ext1.type.lastname=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast&openid.ext1.value.lastname=Charbonneau&openid.ext1.type.email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.ext1.value.email=zcarterc%40gmail.com
@acertain
Copy link
Author

acertain commented Dec 8, 2012

Seems that returnURL should be set to the same value as callbackURL for passport-google. It will redirect to / after authing but log:

{ err: null,
  user: { auth: {}, id: 'a9c40a47-18d9-4bb6-a666-8794d0187087' } }

@lefnire
Copy link
Owner

lefnire commented Dec 8, 2012

noted. I'm not gonna have a chance to tackle this for a while, so pull request me if you can think of something between now and then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants