Gitlab CSE Unil

Commit c0ee5570 authored by Julien Furrer's avatar Julien Furrer
Browse files

updated settings for new shibauth

parent 7a50f341
...@@ -7,6 +7,7 @@ include( ...@@ -7,6 +7,7 @@ include(
'components/adim.py', 'components/adim.py',
'components/local_defaults.py', 'components/local_defaults.py',
optional('shib_settings.py'),
optional('local_settings.py'), optional('local_settings.py'),
'components/urls.py', 'components/urls.py',
......
...@@ -6,7 +6,7 @@ AUTHENTICATION_BACKENDS = ( ...@@ -6,7 +6,7 @@ AUTHENTICATION_BACKENDS = (
LOGIN_REDIRECT_URL = "adim.app:annotate_new" LOGIN_REDIRECT_URL = "adim.app:annotate_new"
LOGIN_URL = "adim.app:home" LOGIN_URL = "adim.app:home"
SHIBAUTH_ATTR_PATTERN = r'.*' SHIB_UID_ATTR = 'persistent-id'
SHIB_USERNAME_ATTR = 'mail' SHIB_USERNAME_ATTR = 'mail'
SHIB_ATTR_MAP = { SHIB_ATTR_MAP = {
'user': ( 'user': (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment