webdev
webdev
PD🧩 Plasmo Developers
Created by webdev on 6/6/2023 in #👟framework
Firebase auth in background script
If someone manages to find out that would be great
6 replies
PD🧩 Plasmo Developers
Created by webdev on 6/6/2023 in #👟framework
Firebase auth in background script
I didn't manage to make it work for now. The idea would be to share the auth token (from user.getToken() in client side) down to bgsw and make authenticated requests directly to firebase services (just like in fetch you would set authentication headers). However, firebase docs are so convoluted that I can't really find a way to do custom requests without setting auth from firebase.
6 replies