Bug 1782215 - Properly close the tab opened by the LoginCallback when needed

This commit is contained in:
EvaBardou 2023-07-13 13:13:39 +02:00 коммит произвёл Sebastian Hengst
Родитель e4cd424234
Коммит 018de4c331
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -53,6 +53,9 @@ WSGI_APPLICATION = 'treeherder.config.wsgi.application'
# Send full URL within origin but only origin for cross-origin requests
SECURE_REFERRER_POLICY = "origin-when-cross-origin"
# Prevent window.opener from always being null while it's used in the frontend
SECURE_CROSS_ORIGIN_OPENER_POLICY = None
# We can't set X_FRAME_OPTIONS to DENY since renewal of an Auth0 token
# requires opening the auth handler page in an invisible iframe with the
# same origin.