Configure OpenID auth on Koschei stg

This commit is contained in:
Mikolaj Izdebski
2016-05-13 13:20:54 +00:00
parent 71899a961d
commit a0312eeffd

View File

@@ -15,4 +15,12 @@
AllowOverride All
Require all granted
</Directory>
{% if env == 'staging' %}
<Location /login>
Require valid-user
AuthType OpenID
AuthOpenIDSingleIdP https://{{ koschei_openid_provider }}/
</Location>
{% endif %}
</VirtualHost>