From aa43c7a742d3a58004c263e4390a875029d83147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 22 Nov 2022 16:26:32 +0100 Subject: [PATCH] Ipsilon: set CORS headers for OIDC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/ipsilon/templates/httpd.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/ipsilon/templates/httpd.conf.j2 b/roles/ipsilon/templates/httpd.conf.j2 index f69a6637d9..3e02007d6c 100644 --- a/roles/ipsilon/templates/httpd.conf.j2 +++ b/roles/ipsilon/templates/httpd.conf.j2 @@ -49,6 +49,10 @@ WSGIApplicationGroup %{GLOBAL} Require all granted + + Header set Access-Control-Allow-Origin "*" + + ForceType application/json