Since Google has updated the login on gmail.
The "Sign in Using Google" function has stopped to work out.
The pop-up opens but the page remains on "connect to server"
Thx in advance for a solution
All Best

Comments

wmad’s picture

Issue confirmed on my websites as well. It suddenly stopped working.

modstore’s picture

I'm also having this problem now :S

joppstah’s picture

I also have this problem. Running on Drupal 7. Just spent about 2 hours disabling recent modules to see if they were the problem, before I read this post.

joppstah’s picture

Do we know what was changed and if there will be a fix?

emposha’s picture

Google updated identity-toolkit to v2, and removed support for v1
I will try to create patch and post it later, meanwhile this module should count as broken...

Also here you can find more information about identity-toolkit v2.
https://developers.google.com/identity-toolkit/v2/acguide

joppstah’s picture

Any movement on the patch emposha?

gaurav.varshney’s picture

I am facing the same problem.
JS error occurs in the console "Refused to display 'https://www.googleapis.com/static/proxy.html?gcv=gcm_90d40b8b8d35c45c49316f…296c2.js#parent=http%3A%2F%2Flocalhost%2Fdrupal7%2F&rpctoken=1383906239497' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

mateb’s picture

There are some differences between GITkit API v1 and v2:
https://developers.google.com/identity-toolkit/v1/acguide
https://developers.google.com/identity-toolkit/v2/acguide

Google Identity Toolkit v1

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/jsapi"></script>
<script type="text/javascript">
  function load() {
    google.load("identitytoolkit", "1.0", {packages: ["ac"], callback: callback});
  }
  function callback() {
    window.google.identitytoolkit.setConfig({
        developerKey: "{your developer key}",
        companyName: "Your company",
        callbackUrl: "https://yoursite.com/callback", // must be a full URL
        userStatusUrl: "/userStatus", // these can just be partial paths
        loginUrl: "/login",
        signupUrl: "/signup",
        homeUrl: "/home",
        logoutUrl: "/logout",
        realm: "", // optional
        language: "en",
        idps: ["Gmail", "AOL", "Hotmail", "Yahoo"],
        tryFederatedFirst: true,
        useCachedUserStatus: false
    });
    jQuery('#navbar').accountChooser();
  }
</script>
<script type="text/javascript" src="https://apis.google.com/js/client.js?onload=load"></script>

Google Identity Toolkit v2

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/jsapi"></script>
<script type="text/javascript" src="https://www.accountchooser.com/client.js"></script>
<script type="text/javascript">
  function load() {
    google.load("identitytoolkit", "2", {packages: ["ac"], callback: callback});
  }
  function callback() {
    window.google.identitytoolkit.setConfig({
        developerKey: "{your developer key}",
        callbackUrl: "https://yoursite.com/callback", // must be a full URL
        userStatusUrl: "/userStatus", // these can just be partial paths
        loginUrl: "/login",
        signupUrl: "/signup",
        homeUrl: "/home",
        logoutUrl: "/logout",
        realm: "",  // optional
        language: "en",
        idps: ["Gmail", "AOL", "Hotmail", "Yahoo"],
        tryFederatedFirst: true,
        useContextParam: true
    });
    window.google.identitytoolkit.init();
  }
</script>
<script type="text/javascript" src="https://apis.google.com/js/client.js?onload=load"></script>
shanz karthik’s picture

Hi all, I'm also stuck with the same issue.

"NetworkError: 404 Not Found - https://www.googleapis.com/static/proxy.html?gcv=gcm_90d40b8b8d35c45c493..."

eem88’s picture

I'm experiencing the same issue, hangs on 'connect to server'

toby381’s picture

Same issue here

j_ten_man’s picture

Title: Google sign up stay on the pop- » Google Login/Signup Not Working - 'X-Frame-Options' to 'SAMEORIGIN'
Issue summary: View changes

I'm getting this same thing and it's not clear what the issue is. I'm trying the Drupal 6 version. This seems to be some issue with the toolkit itself, but maybe it's how this is implemented. I spent a couple of hours trying to figure it out, but can't seem to get it working.

gaurav.varshney’s picture

I used the Gconnect module of the new branch "Commit a75e632 on 6.x-1.x-rc" http://drupalcode.org/project/gconnect.git/commit/a75e632
it is working fine.

1kenthomas’s picture

Title: Google Login/Signup Not Working - 'X-Frame-Options' to 'SAMEORIGIN' » Not Working - Will not connect to Google IF 2.0

Title says it all; changing. Is this project dead? Thanks, Ken

1kenthomas’s picture

Title: Not Working - Will not connect to Google IF 2.0 » Not Working - Will not connect to Google ITK 2.0

(Spelling/typo correction). Note the git repo has updated code for D6, not D7.

AntiNSA’s picture

is this still working or not?

1kenthomas’s picture

@AntiNSA: May be working for D6 from the GIT repo mentioned above (#13). Cannot confirm that.

laurabfen’s picture

Any progress on this. Not working on our drupal 7 site.