{"action":"created","issue":{"url":"https://api.github.com/repos/fullstackreact/react-native-firestack/issues/168","repository_url":"https://api.github.com/repos/fullstackreact/react-native-firestack","labels_url":"https://api.github.com/repos/fullstackreact/react-native-firestack/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/fullstackreact/react-native-firestack/issues/168/comments","events_url":"https://api.github.com/repos/fullstackreact/react-native-firestack/issues/168/events","html_url":"https://github.com/fullstackreact/react-native-firestack/issues/168","id":191801288,"number":168,"title":"signInWithProvider for Google is not working (using react-native-oauth for cred.)","user":{"login":"ajonno","id":3005269,"avatar_url":"https://avatars.githubusercontent.com/u/3005269?v=3","gravatar_id":"","url":"https://api.github.com/users/ajonno","html_url":"https://github.com/ajonno","followers_url":"https://api.github.com/users/ajonno/followers","following_url":"https://api.github.com/users/ajonno/following{/other_user}","gists_url":"https://api.github.com/users/ajonno/gists{/gist_id}","starred_url":"https://api.github.com/users/ajonno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajonno/subscriptions","organizations_url":"https://api.github.com/users/ajonno/orgs","repos_url":"https://api.github.com/users/ajonno/repos","events_url":"https://api.github.com/users/ajonno/events{/privacy}","received_events_url":"https://api.github.com/users/ajonno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-26T11:28:27Z","updated_at":"2016-11-26T23:27:09Z","closed_at":null,"body":"I'm using react-native-oauth to authenticate with Google and have it return the payload which contains an access_token. That is working fine.\r\n\r\nI am then using the access_token, to try and authenticate with Firebase, using Firestack.\r\n\r\nHere is the call:\r\n```\r\nconst configurationOptions = {\r\n   debug: true,\r\n   clientID: 'xxxxxxxx-0ufhn1bvnyqq92id0m.appsyyyyyyy.googleusercontent.com'\r\n};\r\nconst firestack = new Firestack(configurationOptions);\r\n\r\nfirestack.signInWithProvider('google', resp.response.credentials.access_token, '') //.\r\n.then((user)=>{\r\n   this.props.navigator.push(Router.getRoute('homeView', {showText: true}));\r\n})\r\n.catch(err => {\r\n   console.log(err)\r\n});\r\n```\r\n\r\nthis is the error Firebase is sending back:\r\n```\r\n{error: \"No user signed in\", description: \"An internal error has occurred, print and inspect the error details for more information.\"}\r\n```\r\n\r\nGiven that the react-native-oauth callback succeeds and returns me a payload, shouldn't the access_token to then authenticate to Firestack therefore work ? "},"comment":{"url":"https://api.github.com/repos/fullstackreact/react-native-firestack/issues/comments/263092171","html_url":"https://github.com/fullstackreact/react-native-firestack/issues/168#issuecomment-263092171","issue_url":"https://api.github.com/repos/fullstackreact/react-native-firestack/issues/168","id":263092171,"user":{"login":"auser","id":529,"avatar_url":"https://avatars.githubusercontent.com/u/529?v=3","gravatar_id":"","url":"https://api.github.com/users/auser","html_url":"https://github.com/auser","followers_url":"https://api.github.com/users/auser/followers","following_url":"https://api.github.com/users/auser/following{/other_user}","gists_url":"https://api.github.com/users/auser/gists{/gist_id}","starred_url":"https://api.github.com/users/auser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auser/subscriptions","organizations_url":"https://api.github.com/users/auser/orgs","repos_url":"https://api.github.com/users/auser/repos","events_url":"https://api.github.com/users/auser/events{/privacy}","received_events_url":"https://api.github.com/users/auser/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T23:27:09Z","updated_at":"2016-11-26T23:27:09Z","body":"I'll check it over here after I finish google auth support in `react-native-oauth` on Android\r\n"}}
{"actor":{"display_login":"auser"}}