Allow OIDC logout form submission in CSP form-action directive
The oidc-provider library renders logout forms with absolute URLs, which gets blocked by the strict form-action 'self' CSP directive.
This commit is contained in:
parent
c3c8b6bcd4
commit
17d29647b4
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export default defineEventHandler((event) => {
|
|||
"connect-src 'self' https://api.helcim.com https://myposjs.helcim.com https://plausible.io",
|
||||
"frame-src 'self' https://myposjs.helcim.com https://secure.helcim.com",
|
||||
"base-uri 'self'",
|
||||
"form-action 'self'",
|
||||
"form-action 'self' https://ghostguild.org",
|
||||
].join('; ')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue