Disable authentication to endpoint for serving i18n requests

For now JSON service is not available without authentication
to IPA. But some of Web UI pages expect translations before
or without Login process.

Fixes: https://pagure.io/freeipa/issue/7559
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Stanislav Levin 2018-06-26 11:24:00 +03:00 committed by Rob Crittenden
parent ab0835f91f
commit 86b57236c0

View File

@ -1,5 +1,5 @@
#
# VERSION 28 - DO NOT REMOVE THIS LINE
# VERSION 29 - DO NOT REMOVE THIS LINE
#
# This file may be overwritten on upgrades.
#
@ -100,6 +100,11 @@ WSGIScriptReloading Off
# Target for login with internal connections
Alias /ipa/session/cookie "/usr/share/ipa/gssapi.login"
# Turn off Apache authentication for i18n messages
<Location "/ipa/i18n_messages">
Require all granted
</Location>
# Turn off Apache authentication for password/token based login pages
<Location "/ipa/session/login_password">
Satisfy Any