Firebase Authentication on Chrome Extension Base Page

How can I authenticate with Firebase in a chrome extension? I need to specify a allowed domain list in Forge. The Chrome domain for the extension is just a big hash string.

I read the following: authClient.login problems

But the hashed chrome expansion area is not accepted at the Firebase forge. Is there any other way to do this? I am currently just reading a cookie firebaseSessionKeyto just assume that I am logged in. But, of course, this cannot be as secure as letting Firebase verify this session key.

+5
source share
2 answers

Rob, , . , (Facebook, Twitter, Persona ) - .. Facebook ( ).

F1 Firefox (http://f1.mozillamessaging.com/), F1 /facebook . - , , -. - , .

- - ( Github ), . , , Firebase!

+8

Google Plus, , , , , Google Plus Login.

"WWW [] googleapis [] //plus.login"

, , access_token , firebase , authwihtoauthtoken, google access_token, chrome.identity.getAuthToken()!

https://www.firebase.com/docs/web/api/firebase/authwithoauthtoken.html

, , , , , .

firebase.

, , .

, Google, . , -, firebase google oAuth .

. google, .

.

.

https://developers.google.com/identity/protocols/OAuth2UserAgent#validatetoken

, . , , , .

, , Google. , , .

Google , python, :

"GitHub [] /GooglePlus/Gplus-verifytoken-"

, , ; , firebase , CLIENT_ID APP_SECRET firebase Google.

- , client_secret. Chrome access_token, access_token firebase.

+1

All Articles