🧩 Plasmo Developers�PD
🧩 Plasmo Developers3y ago
14 replies
Asif

Google & Facebook OAuth without firebase

Hello, I am trying to make authentication system with google oauth. But as firebase is not free to use after certain request, that's why i want to do it by implementing the endpoint which i do in my react application. For this case i am using a package named @react-oauth/google
But this is not working properly. I got some error like

Refused to load the script 'https://accounts.google.com/gsi/client' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.


Can anyone help me how to fix it? Or is there any blog or documentation for implement google and facebook oauth?
Was this page helpful?