Update settings

This commit is contained in:
Xeryus Stokkel 2022-01-17 11:42:44 +01:00
parent ee4ca6a481
commit 7867d49593
Signed by: Xeryus Stokkel
GPG Key ID: 7023C2C891DDE681
1 changed files with 7 additions and 5 deletions

View File

@ -136,7 +136,7 @@ STATIC_URL = 'static/'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
SCIM_SERVICE_PROVIDER = { SCIM_SERVICE_PROVIDER = {
'NETLOC': 'localhost', 'NETLOC': 'scim.xeryus.rug.nl',
'AUTHENTICATION_SCHEMES': [ 'AUTHENTICATION_SCHEMES': [
{ {
'type': 'oauth2', 'type': 'oauth2',
@ -149,7 +149,9 @@ SCIM_SERVICE_PROVIDER = {
STATIC_ROOT = '/var/www/scim_app/static' STATIC_ROOT = '/var/www/scim_app/static'
STATIC_URL = '/static/' STATIC_URL = '/static/'
BASICAUTH_USERS = { LOGIN_URL = '/admin/login/'
'xeryus': 'development',
'scim': 'scim', AUTHENTICATION_BACKENDS = [
} 'oauth2_provider.backends.OAuth2Backend',
'django.contrib.auth.backends.ModelBackend',
]