You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use modular API in our Figma plugin code (https://www.figma.com/plugin-docs/intro/).
In SDK 8, firebase.auth() was not throwing any error. However, if I try to use module API in beta version with Figma plugin using getAuth( firebaseApp ) , then it is giving me below error
Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Storage is disabled inside 'data:' URLs.
at new BrowserLocalPersistence ... at _getInstance ... at _initializeAuthInstance
Steps to reproduce:
Relevant Code:
// TODO(you): code here to reproduce the problem
The text was updated successfully, but these errors were encountered:
beingminimal
changed the title
v9 Modular: firebase getAuth method now requiring localstorage access
v9 Modular: firebase getAuth method throwing error if Storage is disabled inside data:
Aug 11, 2021
Hi, thanks for the issue report. getAuth() initializes auth as a default with all the bells and whistles attached. If you're using the getAuth() for the browser environment (the default), getAuth() is a drop in replacement for this:
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
We are trying to use modular API in our Figma plugin code (https://www.figma.com/plugin-docs/intro/).
In SDK 8,
firebase.auth()
was not throwing any error. However, if I try to use module API in beta version with Figma plugin usinggetAuth( firebaseApp )
, then it is giving me below errorSteps to reproduce:
Relevant Code:
// TODO(you): code here to reproduce the problem
The text was updated successfully, but these errors were encountered: