donjakobo/A3M

Bad Request when trying to sign in with google account

Opened this issue · 10 comments

When i try to log in with google account it returns me to the page "After i allow the google permission page" with a message:

Bad Request
Your browser sent a request that this server could not understand.

The page URL is like:

http://domain.com/a3m/account/connect_google?janrain_nonce=2014-04-17T12:12:25ZCIxXGf&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=2014-04-17T12%3A12%3A25ZFHP0autzNLbQpQ&openid.return_to=http%3A%2F%2Fdomain.com%2Fkids%2Faccount%2Fconnect_google%3Fjanrain_nonce%3D2014-04-17T12%3A12%3A25ZCIxXGf&openid.assoc_handle=1.AMlYA9UgAE7xy1pgDRTJ4dfAYOhH1woPMe56S9XAkCNXro2lIHVA8MJqqB6z_Q&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.language%2Cext1.value.language%2Cext1.type.country%2Cext1.value.country%2Cext1.type.email%2Cext1.value.email&openid.sig=hTiYUbVuDKcyWJ%2BuCHUBREVnxSk%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlt5HrkQ_ihHQtNztbfA9o4Eg7pMCfbf8Q&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawlt5HrkQ_ihHQtNztbfA9o4Eg7pMCfbf8Q&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=Ahmed&openid.ext1.type.lastname=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast&openid.ext1.value.lastname=Soliman&openid.ext1.type.language=http%3A%2F%2Faxschema.org%2Fpref%2Flanguage&openid.ext1.value.language=en&openid.ext1.type.country=http%3A%2F%2Faxschema.org%2Fcontact%2Fcountry%2Fhome&openid.ext1.value.country=EG&openid.ext1.type.email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.ext1.value.email=ahmedsliman%40gmail.com#

What version of A3M is this?

The last version

Are you using v1.x or v2-alpha ?

OK, that is v1.0.1

Should i use v2-alpha ?

Depends on what you are looking for. The Alpha is in active development together with all its dependencies and has many changes from v1, so if you want to use it for production, then I would not recommend it. @donjakobo we might want to look to see if there are updates for the providers in v1.

I looking for a solution for this problem exactly so i don't know if this is from my version or what ?

It shouldn't as in v1 Google authentication is going through OpenID, so it should just work. https://github.com/donjakobo/A3M/wiki/Google-and-OpenID-Setup

Could this be related to #96 ?