Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
c0ee5570
Commit
c0ee5570
authored
Apr 16, 2015
by
Julien Furrer
Browse files
updated settings for new shibauth
parent
7a50f341
Changes
2
Hide whitespace changes
Inline
Side-by-side
adim_project/settings/__init__.py
View file @
c0ee5570
...
...
@@ -7,6 +7,7 @@ include(
'components/adim.py'
,
'components/local_defaults.py'
,
optional
(
'shib_settings.py'
),
optional
(
'local_settings.py'
),
'components/urls.py'
,
...
...
adim_project/settings/components/auth.py
View file @
c0ee5570
...
...
@@ -6,7 +6,7 @@ AUTHENTICATION_BACKENDS = (
LOGIN_REDIRECT_URL
=
"adim.app:annotate_new"
LOGIN_URL
=
"adim.app:home"
SHIB
AUTH
_ATTR
_PATTERN
=
r
'.*
'
SHIB
_UID
_ATTR
=
'persistent-id
'
SHIB_USERNAME_ATTR
=
'mail'
SHIB_ATTR_MAP
=
{
'user'
:
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment