diff options
author | Leif Johansson <leifj@sunet.se> | 2012-04-05 13:33:53 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-04-05 13:33:53 +0200 |
commit | a72b3c77839b9e5e29071d40d47842658fe9f71f (patch) | |
tree | aa9f84016b41b1abd820ac53991d18050f7bb524 | |
parent | bc55b9397252c7382b6388fceef54a056d3c371e (diff) |
dammit
-rw-r--r-- | asgard/settings.d/20-saml.conf | 5 |
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 |