The problem seems to be due to our normal login requiring more informational fields than google provides (country, addr, company etc). But this is not handled very elegantly now. If I manually redirect to site.com, I get some lines on the main page saying that login items are missing, then if I manually redirect to site.com/user/register I can enter the missing items and proceed with the login. Subsequent logins work fine.
Any suggestions for a fix?

Comments

anil614sagar’s picture

Hi pete darnell,

We will investigate this issue and get back to you soon !.

Cheers,
Anil Sagar,
SourceN.

saitanay’s picture

Not sure if i should open another one for 7.x,.

hence posting here,.

I get a 404,. after being redirected to
http://<<drupal-site.com>>/?q=git/callback&gx.rp_st=AEp4C1t4oz_n41Sebqg_-SyOmbEWywBrru-VFW6OM74Itz6lDA4zbDwd07hGth8URMBzBBICbeR_ly2E8s-wFDC_W8peOHpHF8C5i8t2f0mK_asqMVe_yylu-YnMO7FDekmcLSqnECO6&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-08-14T13%3A31%3A33ZV5KNgQaaHELxQw&openid.return_to=http%3A%2F%2Ftanay.info%2Fresumebear%2F%3Fq%3Dgit%2Fcallback%26gx.rp_st%3DAEp4C1t4oz_n41Sebqg_-SyOmbEWywBrru-VFW6OM74Itz6lDA4zbDwd07hGth8URMBzBBICbeR_ly2E8s-wFDC_W8peOHpHF8C5i8t2f0mK_asqMVe_yylu-YnMO7FDekmcLSqnECO6&openid.assoc_handle=AMlYA9VHq0XwA5y_tHyK3GohTeoABI-WaqHnRANFL6v0WyNoy1Jo58-doXIn3iGMJruaqtFC&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.attr3%2Cext1.value.attr3%2Cext1.type.auto2%2Cext1.value.auto2%2Cext1.type.attr0%2Cext1.value.attr0%2Cext1.type.attr9%2Cext1.value.attr9%2Cext1.type.attr6%2Cext1.value.attr6&openid.sig=vGAzHEKQiMAk9pYr7N4qBeTUZJs4AA1Pxt%2FE2aHpo28%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawnl24SKEwcMqlWdNqmKsGtESWkNaxwLZUU&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawnl24SKEwcMqlWdNqmKsGtESWkNaxwLZUU&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ext1.mode=fetch_response&openid.ext1.type.attr3=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&openid.ext1.value.attr3=Article&openid.ext1.type.auto2=http%3A%2F%2Fwww.google.com%2Faccounts%2Fapi%2Ffederated-login%2Fid&openid.ext1.value.auto2=114578248717137951840&openid.ext1.type.attr0=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.ext1.value.attr0=articlespinner.in%40gmail.com&openid.ext1.type.attr9=http%3A%2F%2Faxschema.org%2Fpref%2Flanguage&openid.ext1.value.attr9=en&openid.ext1.type.attr6=http%3A%2F%2Faxschema.org%2FnamePerson%2Flast&openid.ext1.value.attr6=Spinner

yeah,. the url being returned to is really that long,.

charlie-s’s picture

@saitanay: It looks like there are some issues in gconnect.pages.inc git_callback():

<?php
  drupal_deliver_html_page(git_redirectParent($url));
  return $html;
?>

There is no $html variable declared, and drupal_deliver_html_page() is called but not returned which I think is an error. I think it simply needs to be:

<?php
exit(git_redirectParent($url)); 
?>

since $url is just a JavaScript string that redirects the user.

TravisJohnston’s picture

+1

Also having this issue. Just recently new accounts get a white screen at /?q=git/auth/handler.

And #3 does not apply since that code is not available in the gconnect.pages.inc file. I see this

  // Redirect the user to the create account page.
  $_SESSION['gconnect'] = $profile;
  $url = $base_url . "/?q=git/auth/handler";
  //var_dump($_SESSION['gconnect']);
  $html = '<script type="text/javascript">';
  if (!empty($url)) {
    $html .= "window.opener.location='$url';";
  }
  $html .= 'window.close();</script>';
  return $html;

Previously created accounts still work fine, this just happened out of no where recently.