DEV Community

Discussion on: Google Authentication in a Chrome Extension with Firebase

Collapse
 
yuri_makaruk_8977518b400e profile image
Yuri Makaruk

jason_k
I also encountered the same issues and am currently stuck on the sign in. When I click Sign In button nothing happens, console log gives me error:
"Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'"."

Collapse
 
allison_xia_8383d29a9e2ca profile image
allison xia

follow jason_k's steps and then simple solution zaf's solution.

I used to have the same issue but now it works well.

Collapse
 
yuri_makaruk_8977518b400e profile image
Yuri Makaruk

i have been trying to implement this sign in feature for months now but nothing works. Some one smarted than me should provide a clearer instruction