# Um usuário não consegue fazer login devido a um problema de CSP

**URL:** <https://meta.discourse.org/t/a-user-cannot-login-due-to-csp-issue/280556>\
**Category:** Support\
**Created:** [Setembro 29, 2023, 5:21pm UTC](https://meta.discourse.org/t/a-user-cannot-login-due-to-csp-issue/280556 "2023-09-29T17:21:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Cara](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@Cara](https://meta.discourse.org/u/Cara)\
**Post date:** [Setembro 29, 2023, 5:21pm UTC](https://meta.discourse.org/t/a-user-cannot-login-due-to-csp-issue/280556/1 "2023-09-29T17:21:34Z")

</div>

Há algum tempo um usuário não consegue fazer login no fórum.  
Ele tem um problema de CSP:

```plaintext
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src https://boulette.advantaged.net/logs/ https://boulette.advantaged.net/sidekiq/ https://boulette.advantaged.net/mini-profiler-resources/ https://boulette.advantaged.net/assets/ https://boulette.advantaged.net/brotli_asset/ https://boulette.advantaged.net/extra-locales/ https://boulette.advantaged.net/highlight-js/ https://boulette.advantaged.net/javascripts/ https://boulette.advantaged.net/plugins/ https://boulette.advantaged.net/theme-javascripts/ https://boulette.advantaged.net/svg-sprite/ 'sha256-8uakdak4qxxceyzl0wxad2nnj2tgkya14hybh66pnn0='". Either the 'unsafe-inline' keyword, a hash ('sha256-8uAKDaK4QxxCeYZl0Wxad2Nnj2tgKyA14hYBh66pnn0='), or a nonce ('nonce-...') is required to enable inline execution.

deprecate-shim.js:33 DEPRECATION: Function prototype extensions have been deprecated, please migrate from function(){}.property('bar') to computed('bar', function() {}). [deprecation id: function-prototype-extensions.property] See https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-property for more details.
(anonymous) @ deprecate-shim.js:33

```

Para ser preciso, eu nunca configurei nenhuma CSP e a deixei configurada por padrão:

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/c/a/5ca00d01f5e7cd7aa3b5ac58ad5491ea35df4ea2.png)

Alguém pode me ajudar com isso?  
Agradeço desde já.

---

_[View the full topic](https://meta.discourse.org/t/a-user-cannot-login-due-to-csp-issue/280556)._
