Skip to content

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

Open
@slava709

Description

@slava709

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions