Skip to content
Snippets Groups Projects
Commit e2aff439 authored by richard.petersen's avatar richard.petersen :sailboat:
Browse files

Fixed: OXUIB-1397 - Parent or opener do not reference opening window

Root cause: Cross-Origin-Opener-Policy is set to same-origin per default and will prevent parent or window.opener to be set
Solution: Set Cross-Origin-Opener-Policy to same-origin-allow popups
parent ea1c2495
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,8 @@ export function createApp () { ...@@ -66,7 +66,8 @@ export function createApp () {
app.use(helmet({ app.use(helmet({
contentSecurityPolicy: false, contentSecurityPolicy: false,
crossOriginEmbedderPolicy: false, crossOriginEmbedderPolicy: false,
originAgentCluster: false originAgentCluster: false,
crossOriginOpenerPolicy: { policy: 'same-origin-allow-popups' }
})) }))
app.use('/healthy', health.LivenessEndpoint(healthCheck)) app.use('/healthy', health.LivenessEndpoint(healthCheck))
app.use('/ready', health.ReadinessEndpoint(healthCheck)) app.use('/ready', health.ReadinessEndpoint(healthCheck))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment