{"action":"opened","issue":{"url":"https://api.github.com/repos/firebase/firebase-chrome-extension/issues/4","repository_url":"https://api.github.com/repos/firebase/firebase-chrome-extension","labels_url":"https://api.github.com/repos/firebase/firebase-chrome-extension/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/firebase/firebase-chrome-extension/issues/4/comments","events_url":"https://api.github.com/repos/firebase/firebase-chrome-extension/issues/4/events","html_url":"https://github.com/firebase/firebase-chrome-extension/issues/4","id":156315904,"number":4,"title":"Authentication with Firebase 3.0.2 in chrome extension","user":{"login":"adriaanlabusc","id":1318838,"avatar_url":"https://avatars.githubusercontent.com/u/1318838?v=3","gravatar_id":"","url":"https://api.github.com/users/adriaanlabusc","html_url":"https://github.com/adriaanlabusc","followers_url":"https://api.github.com/users/adriaanlabusc/followers","following_url":"https://api.github.com/users/adriaanlabusc/following{/other_user}","gists_url":"https://api.github.com/users/adriaanlabusc/gists{/gist_id}","starred_url":"https://api.github.com/users/adriaanlabusc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriaanlabusc/subscriptions","organizations_url":"https://api.github.com/users/adriaanlabusc/orgs","repos_url":"https://api.github.com/users/adriaanlabusc/repos","events_url":"https://api.github.com/users/adriaanlabusc/events{/privacy}","received_events_url":"https://api.github.com/users/adriaanlabusc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-23T16:55:48Z","updated_at":"2016-05-23T16:55:48Z","closed_at":null,"body":"Issue #1 asked for an example chrome extension that uses authentication. I'm aware of that explanation and example but I'm still stuck.\r\n\r\nI can currently login using AuthUI and the google provider (on a hosted page) after which I get a token with `user.getToken().then(function(accessToken) {...})` and store it in local storage using a content script as done in the example app sited in #1 .\r\n\r\nIn a different content script (running on a url I don't know beforehand) I retrieve the token and try to authenticate with things like `fireBaseApp.auth().signInWithCredential(token)` or `fireBaseApp.auth(token)` etc. I get the error `This domain is not authorized for OAuth operations for your Firebase project` which is the same thing I got when using AuthUI directly from the extension instead of a hosted page.\r\n\r\nAm I missing something fundamental here?"}}
{"actor":{"display_login":"adriaanlabusc"}}