🧩 Plasmo Developers�PD
🧩 Plasmo Developers14mo ago
4 replies
fvrlak

Login sync between popup and content using firebase auth

Can you please explain how I can manage to sync the state of login between popup.tsx and content.tsx using firebase auth?

I am working with the framework --with-firebase-auth , and the login there works, however I would like to inject button in the main world (using content.tsx), and onclick save data to firestore, and I need to be authenticated from in the content.tsx.

From some reason the popup and content does not share the state of auth.

Is there a way to achieve that?

Thank you
Was this page helpful?