Skip to content

Commit

Permalink
website/docs: Fix CSP syntax (goauthentik#12124)
Browse files Browse the repository at this point in the history
Fix CSP syntax

Scheme sources need to not have quotes https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#scheme-source

Signed-off-by: Felix Schäfer <[email protected]>
  • Loading branch information
thegcat authored Nov 25, 2024
1 parent 630e0e6 commit 6c1ad98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/security/security-hardening.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ authentik requires at least the following allowed locations:

```
default-src 'self';
img-src 'https:' 'http:' 'data:';
img-src https: http: data:;
object-src 'none';
style-src 'self' 'unsafe-inline'; # Required due to Lit/ShadowDOM
script-src 'self' 'unsafe-inline'; # Required for generated scripts
Expand Down

0 comments on commit 6c1ad98

Please sign in to comment.