debian: activate django-mellon AuthnRequest eo:next_url Extension option (#22352)

This commit is contained in:
Thomas NOËL 2018-03-07 16:39:43 +01:00
parent 67e421e2db
commit c74241d420
3 changed files with 4 additions and 0 deletions

View File

@ -298,6 +298,7 @@ if PROJECT_NAME != 'wcs':
if 'authentic2' not in INSTALLED_APPS:
MELLON_DEFAULT_ASSERTION_CONSUMER_BINDING = 'artifact'
MELLON_OPENED_SESSION_COOKIE_NAME = 'A2_OPENED_SESSION'
MELLON_ADD_AUTHNREQUEST_NEXT_URL_EXTENSION = True
MIDDLEWARE_CLASSES = (
'hobo.middleware.utils.StoreRequestMiddleware',

View File

@ -8,6 +8,7 @@ execfile('/usr/lib/hobo/debian_config_common.py')
# hobo don't use multitenant mellon adapter: IdP is detected in the local
# environnment
MELLON_ADAPTER = ('hobo.utils.MellonAdapter',)
MELLON_ADD_AUTHNREQUEST_NEXT_URL_EXTENSION = True
# add custom hobo agent module
INSTALLED_APPS = ('hobo.agent.hobo', ) + INSTALLED_APPS

View File

@ -175,6 +175,8 @@ MELLON_SUPERUSER_MAPPING = {
'is_superuser': 'true',
}
MELLON_ADD_AUTHNREQUEST_NEXT_URL_EXTENSION = True
THEMES_DIRECTORY = '/usr/share/publik/themes/'
VARIABLE_SETTINGS_DEFAULTS = {}