Forking @evdama's request from https://github.com/GoogleChrome/workbox/issues/2122#issuecomment-559451615, there's some docs for using Firebase auth with service workers at https://firebase.google.com/docs/auth/web/service-worker-sessions
This might make for a good Workbox plugin. We should reach out to some folks from the Firebase team to gauge their interest.
Have you gotten any feedback from the firebase team yet, maybe @davideast has any opinion on this matter?
Just created a workbox plugin that does exactly that.
Check it out and let me know what you think:
https://github.com/m2sd/workbox-plugin-firebase-auth
Just created a workbox plugin that does exactly that.
Check it out and let me know what you think:
https://github.com/m2sd/workbox-plugin-firebase-auth
@mentAl-maZe @m2sd
Just to make sure: using your pluging I'll also need to take care of the server-side changes right? Your plugin only handles the client-side changes to authenticate firebase users via the service worker correct?
@evdama
Sry for the late response, I've been crazy busy the last few weeks...
Yes, exactly, the plugin is a plugin solution for workbox which takes care of sending the ID Token to the server
Thanks for creating this!
Most helpful comment
Just created a workbox plugin that does exactly that.
Check it out and let me know what you think:
https://github.com/m2sd/workbox-plugin-firebase-auth