Search code examples
firebasegoogle-chrome-extensionfirebase-authenticationchrome-extension-manifest-v3

Chrome extension popup signin with Firebase Auth


I'm trying to integrate Firebase with Chrome Extension that I'm currently developing. In Google's documentation it says the following.

The newer Manifest V3 only allows background scripts in the form of service workers, which cannot perform the popup operations at all.

Does it mean there is no possibility to show the popup window to the user from which he can select an account to connect with the service? If so, how the connection between Chrome Extension is established? I've tried to find some information on the web but it's still confusing to me.


Solution

  • Ended up triggering launchWebAuthFlow in the background script which serves it's purpose well.