CSP errors in Electron app

Hello!

Basically, I have an Electron app, which has a window that loads a login page for my app. In order to increase security, I’ve set some CSP to the app, including the windows that load the login page from Auth0.

I’ve noticed that every now and then the hash for the scripts in these pages (Auth0 login) change and I have to change my CSP to allow the new hashes.

I would like to know if that’s the only possible approach to that problem, or if I’m missing something that might help me with this.

Thank you very much!

Hi @GabrielYamamoto,

Welcome to the Auth0 Community!

Can you provide some examples of the errors you see and the changes you have to make?

Blog post on Electron and Auth0: Build and Secure an Electron App - OpenID, OAuth, Node.js, and Express

Best,

Mary Beth

You already answered me in an internal ticket. Thank you!

The answer: AUTH0 DOES NOT SUPPORT ELECTRON.