Workbox: Firebase auth plugin?

Created on 28 Nov 2019  路  5Comments  路  Source: GoogleChrome/workbox

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.

Feature Request Help Wanted New Project Idea

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

All 5 comments

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!

Was this page helpful?
0 / 5 - 0 ratings