This commit is contained in:
H.T. Kruitbosch 2017-11-15 11:48:39 +01:00
parent 839cbde8eb
commit f6c392ce12

View File

@ -1,7 +1,5 @@
import os import os
from django.contrib.auth.models import User
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = '_njkeh9n!4**hk@8e#e9mwa$#%7i5!bvl$2m**+v0l=g*nzm%b' SECRET_KEY = '_njkeh9n!4**hk@8e#e9mwa$#%7i5!bvl$2m**+v0l=g*nzm%b'
DEBUG = True DEBUG = True
@ -71,8 +69,6 @@ AUTHENTICATION_BACKENDS = [
'django_saml2_pro_auth.auth.Backend' 'django_saml2_pro_auth.auth.Backend'
] ]
User
SAML_PROVIDER_METADATA_URL = 'https://tst-idp.id.rug.nl/nidp/saml2/metadata' SAML_PROVIDER_METADATA_URL = 'https://tst-idp.id.rug.nl/nidp/saml2/metadata'
SAML_ROUTE = 'sso/saml/' SAML_ROUTE = 'sso/saml/'