Projet

Général

Profil

0001-debian-activate-django-mellon-AuthnRequest-eo-next_u.patch

Thomas Noël, 07 mars 2018 16:40

Télécharger (1,77 ko)

Voir les différences:

Subject: [PATCH] debian: activate django-mellon AuthnRequest eo:next_url
 Extension option (#22352)

 debian/debian_config_common.py | 1 +
 debian/server/debian_config.py | 1 +
 hobo/settings.py               | 2 ++
 3 files changed, 4 insertions(+)
debian/debian_config_common.py
298 298
if 'authentic2' not in INSTALLED_APPS:
299 299
    MELLON_DEFAULT_ASSERTION_CONSUMER_BINDING = 'artifact'
300 300
    MELLON_OPENED_SESSION_COOKIE_NAME = 'A2_OPENED_SESSION'
301
    MELLON_ADD_AUTHNREQUEST_NEXT_URL_EXTENSION = True
301 302

  
302 303
MIDDLEWARE_CLASSES = (
303 304
    'hobo.middleware.utils.StoreRequestMiddleware',
debian/server/debian_config.py
8 8
# hobo don't use multitenant mellon adapter: IdP is detected in the local
9 9
# environnment
10 10
MELLON_ADAPTER = ('hobo.utils.MellonAdapter',)
11
MELLON_ADD_AUTHNREQUEST_NEXT_URL_EXTENSION = True
11 12

  
12 13
# add custom hobo agent module
13 14
INSTALLED_APPS = ('hobo.agent.hobo', ) + INSTALLED_APPS
hobo/settings.py
175 175
    'is_superuser': 'true',
176 176
}
177 177

  
178
MELLON_ADD_AUTHNREQUEST_NEXT_URL_EXTENSION = True
179

  
178 180
THEMES_DIRECTORY = '/usr/share/publik/themes/'
179 181

  
180 182
VARIABLE_SETTINGS_DEFAULTS = {}
181
-