diff options
Diffstat (limited to 'settings.d/20-saml.conf')
-rw-r--r-- | settings.d/20-saml.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/settings.d/20-saml.conf b/settings.d/20-saml.conf new file mode 100644 index 0000000..4116768 --- /dev/null +++ b/settings.d/20-saml.conf @@ -0,0 +1,11 @@ + +from django.conf import settings +from saml2 import BINDING_HTTP_POST, BINDING_HTTP_REDIRECT + +AUTH_PROFILE_MODULE = 'meetingtools.apps.userprofile.UserProfile' +LOGIN_URL = '/saml2/sp/login/' +LOGIN_REDIRECT_URL = "/rooms" + +#AUTHENTICATION_BACKENDS += ['asgard.saml.Saml2Backend'] + +AUTO_REMOTE_SUPERUSERS = ['leifj@nordu.net']
\ No newline at end of file |