From a0312eeffdbe76480cd95d5d60bb1806b1b00b88 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 13 May 2016 13:20:54 +0000 Subject: [PATCH] Configure OpenID auth on Koschei stg --- roles/koschei/frontend/templates/httpd.conf.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/koschei/frontend/templates/httpd.conf.j2 b/roles/koschei/frontend/templates/httpd.conf.j2 index 207b897584..8b5a46ab2c 100644 --- a/roles/koschei/frontend/templates/httpd.conf.j2 +++ b/roles/koschei/frontend/templates/httpd.conf.j2 @@ -15,4 +15,12 @@ AllowOverride All Require all granted + +{% if env == 'staging' %} + + Require valid-user + AuthType OpenID + AuthOpenIDSingleIdP https://{{ koschei_openid_provider }}/ + +{% endif %}