Firebase authentication with user's google account from V3 chrome extension
Opened this issue · 0 comments
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?