{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angularfire2/issues/581","repository_url":"https://api.github.com/repos/angular/angularfire2","labels_url":"https://api.github.com/repos/angular/angularfire2/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/angular/angularfire2/issues/581/comments","events_url":"https://api.github.com/repos/angular/angularfire2/issues/581/events","html_url":"https://github.com/angular/angularfire2/issues/581","id":180368022,"number":581,"title":"signInWithCredential error code auth/network-request-failed","user":{"login":"uzumakinaruto123","id":15323421,"avatar_url":"https://avatars.githubusercontent.com/u/15323421?v=3","gravatar_id":"","url":"https://api.github.com/users/uzumakinaruto123","html_url":"https://github.com/uzumakinaruto123","followers_url":"https://api.github.com/users/uzumakinaruto123/followers","following_url":"https://api.github.com/users/uzumakinaruto123/following{/other_user}","gists_url":"https://api.github.com/users/uzumakinaruto123/gists{/gist_id}","starred_url":"https://api.github.com/users/uzumakinaruto123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzumakinaruto123/subscriptions","organizations_url":"https://api.github.com/users/uzumakinaruto123/orgs","repos_url":"https://api.github.com/users/uzumakinaruto123/repos","events_url":"https://api.github.com/users/uzumakinaruto123/events{/privacy}","received_events_url":"https://api.github.com/users/uzumakinaruto123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-30T18:13:41Z","updated_at":"2016-11-14T23:31:36Z","closed_at":"2016-11-14T23:31:36Z","body":"<!--\n\nThank you for contributing to the Firebase community!\n\nHave a usage question?\n=======================\nWe get lots of those and we love helping you, but GitHub is not the best place for them and they\nwill be closed. Here are some resources to get help:\n\n- Start with the README: https://github.com/angular/angularfire2\n- Go through the Developer's Guide: https://github.com/angular/angularfire2#developer-guide\n- Read the full API reference: https://github.com/angular/angularfire2/blob/master/docs/api-reference.md\n\nIf the official documentation doesn't help, try asking through our officially supported channels:\n\n- Angular Google Group: https://groups.google.com/forum/#!forum/angular\n- Firebase Google Group: https://groups.google.com/forum/#!forum/firebase-talk\n- Stack Overflow: https://stackoverflow.com/questions/tagged/angular (include the firebase and angularfire tags, too!)\n\n*Please avoid double posting across multiple channels!*\n\nThink you found a bug?\n=======================\nYeah, we're definitely not perfect! Please use the bug report template below and include a minimal\nrepro when opening the issue.\n\n\nHave a feature request?\n========================\nGreat, we love hearing how we can improve our products! Just remove the template below and\nprovide an explanation of your feature request. Provide code samples if applicable. Try to\nthink about what it will allow you to do that you can't do today? How will it make current\nworkarounds straightforward? What potential bugs and edge cases does it help to avoid?\n\n-->\n### Version info\n\n<!-- What versions of the following libraries are you using? Note that your issue may already\nbe fixed in the latest versions. -->\n\n**Angular:** 2.0.0-rc4\n\n**Ionic:** 2.0.0-beta.35\n\n**Firebase:** 3.3.0\n\n**AngularFire:** 2.0.0-beta.2\n\nGoogle plus sign in using `signInWithCredential(idToken)`  .\n\n```\nvar provider = (<any> firebase.auth.GoogleAuthProvider).credential(null,res.idToken);\n\n     firebase.auth().signInWithCredential(provider)\n      .then((success) => {\n        this.navCtrl.setRoot(TabsPage);\n        console.log(\"Firebase success: \" + JSON.stringify(success));\n      })\n      .catch((error) => {\n        this.error = error\n        console.log(\"Firebase failure: \" + JSON.stringify(error));\n      });\n```\n\nGoogle sign is sucessfull and idToken is received. But , it gives `404 (Not Found)` on `https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion?key=<My-Api-Key>` at `firebase.auth().signInWithCredential()` method.\n### Debug output\n\n*\\* Errors in the JavaScript console **\n\n```\nPOST \nhttps://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion?key=My-key 404 (Not Found)                                      zone.js:101\n\nFirebase failure: {\"code\":\"auth/network-request-failed\",\"message\":\"A network error (such as timeout, interrupted connection or unreachable host) has occurred.\"}       app.bundle.js:254\n```\n### Expected behavior\n\n<!-- What is the expected behavior? -->\n\nShould sign in into firebase using google sign in access token.\n"}}
{"actor":{"display_login":"jeffbcross"}}