# CSP errors in Electron app

**URL:** <https://community.auth0.com/t/csp-errors-in-electron-app/150783>\
**Category:** Get Help\
**Tags:** security-compliance, security-question-concern\
**Created:** [October 31, 2024, 1:53pm UTC](https://community.auth0.com/t/csp-errors-in-electron-app/150783 "2024-10-31T13:53:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielYamamoto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gabrielyamamoto/32/61888_2.png) [@GabrielYamamoto](https://community.auth0.com/u/GabrielYamamoto)\
**Post date:** [October 31, 2024, 1:53pm UTC](https://community.auth0.com/t/csp-errors-in-electron-app/150783/1 "2024-10-31T13:53:21Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 4, 2024, 4:06pm UTC](https://community.auth0.com/t/csp-errors-in-electron-app/150783/3 "2024-12-04T16:06:45Z")

</div>

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](https://auth0.com/blog/securing-electron-applications-with-openid-connect-and-oauth-2/)

Best,

Mary Beth

---

<div class="post-metadata">

**Author:** ![GabrielYamamoto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gabrielyamamoto/32/61888_2.png) [@GabrielYamamoto](https://community.auth0.com/u/GabrielYamamoto)\
**Post date:** [December 6, 2024, 3:33pm UTC](https://community.auth0.com/t/csp-errors-in-electron-app/150783/4 "2024-12-06T15:33:55Z")

</div>

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

The answer: AUTH0 DOES NOT SUPPORT ELECTRON.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 20, 2024, 3:34pm UTC](https://community.auth0.com/t/csp-errors-in-electron-app/150783/5 "2024-12-20T15:34:53Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
