firebase / quickstart-js

Firebase Quickstart Samples for Web
https://firebase.google.com
Apache License 2.0
5.1k stars 3.66k forks source link

Firebase authentication with user's google account from V3 chrome extension #805

Open slava709 opened 3 months ago

slava709 commented 3 months ago

I'm trying to build manifest V3 chrome extension with react js that authenticates to firebase with the user's google account and doing CRUD tasks. My app works perfectly as a web app, but I'm struggling with the authentication to firebase from the extension. I've seen many people online struggling with that too. I have tried to do what the official documentation says, but i could not make the trick with the iframe work. https://firebase.google.com/docs/auth/web/chrome-extension The code sample in https://github.com/firebase/quickstart-js/tree/master/auth/chromextension is outdated from 2016, for manifest V2. Can you please upload new code samples for manifest V3 that show how to authenticate with signInWithPopup and signInWithRedirect?