summaryrefslogtreecommitdiff
path: root/asgard/settings.d/20-saml.conf
diff options
context:
space:
mode:
Diffstat (limited to 'asgard/settings.d/20-saml.conf')
-rw-r--r--asgard/settings.d/20-saml.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/asgard/settings.d/20-saml.conf b/asgard/settings.d/20-saml.conf
index ea999f1..4394c09 100644
--- a/asgard/settings.d/20-saml.conf
+++ b/asgard/settings.d/20-saml.conf
@@ -1,5 +1,6 @@
from django.conf import settings
+from saml2 import BINDING_HTTP_POST, BINDING_HTTP_REDIRECT
METADATA = 'http://md.swamid.se/md/swamid-1.0.xml'
AUTH_PROFILE_MODULE = 'userprofile.UserProfile'
@@ -25,13 +26,13 @@ def asgard_sp_config(request):
# do not change the binding osettingsr service name
'assertion_consumer_service': [
('https://coip.app.nordu.net/saml2/acs/',
- saml2.BINDING_HTTP_POST),
+ BINDING_HTTP_POST),
],
# url and binding to the single logout service view
# do not change the binding or service name
'single_logout_service': [
('https://coip.app.nordu.net/saml2/ls/',
- saml2.BINDING_HTTP_REDIRECT),
+ BINDING_HTTP_REDIRECT),
],
},
# attributes that this project need to identify a user