Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
window undefined on background script when trying to login via firebase - 🧩 Plasmo Developers
�PD
🧩 Plasmo Developers
•
3y ago
•
13 replies
ar7casper
window undefined on background script when trying to login via firebase
I
'm using React
+ Firebase
.
I have a hook that handles user details and a background script that handles the auth via
chrome.identity.getAuthToken
chrome.identity.getAuthToken
after I approve the consent screen
, the background script throws
"window is not defined
" any ideas
?
I followed this link
-
https://www.plasmo.com/blog/posts/firebase-chrome-extension
Firebase Authentication with React in an MV3 Chrome Extension
Diving deep into everything you need to make Firebase Auth work with your MV3 Chrome Extension
🧩 Plasmo Developers
Join
2,796
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Firebase login issues
�PD
🧩 Plasmo Developers / 🔰newbie
8mo ago
Error on sending message from background script to content script
�PD
🧩 Plasmo Developers / 🔰newbie
11mo ago