CSP errors driving me insane, hours of wasted time

58 views
Skip to first unread message

Tom Brothers

unread,
Feb 17, 2025, 6:32:43 AMFeb 17
to Chromium Extensions
No matter what I cannot get past them, been trying hours for days...

My extension works just fine, but as soon as I tried to add Firebase auth/login (which I have used many times, without problems with websites) its just hell. All the docs online are saying different things. Scattered everywhere etc. 

Is there just some simple way to do this? I've tried hosting pages on my server, tried putting it in a popup, I don't think i'll ever bother trying to make another extension its just too much of a waste of time trying to hunt down the  answer to this.

Mikael Engdahl

unread,
Feb 17, 2025, 6:49:20 AMFeb 17
to Chromium Extensions, Tom Brothers
You can use firebase/auth/web-extension and the createUserWithEmailAndPassword and signInWithEmailAndPassword methods without the need for any pages anywhere.

Oliver Dunk

unread,
Feb 17, 2025, 8:47:02 AMFeb 17
to Mikael Engdahl, Chromium Extensions, Tom Brothers
Hi Tom,

Have you come across the updated Firebase documentation for Manifest V3?


In particular firebase/auth/web-extension is specifically designed to work with our updated requirements.

Thanks,
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/3f4ae28b-fb01-4e97-98ee-e404132776e0n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages