diff --git a/ippisite/ippisite/hub16_settings.py b/ippisite/ippisite/hub16_settings.py
index 0c5ded83f643efa049c10c177f58c81b3ed2456b..62bee296fa2e9731a0b76d0f8a4a81247f95d156 100644
--- a/ippisite/ippisite/hub16_settings.py
+++ b/ippisite/ippisite/hub16_settings.py
@@ -46,6 +46,13 @@ INSTALLED_APPS = [
'ippidb',
'formtools',
'debug_toolbar',
+ 'mod_wsgi.server',
+ 'django.contrib.sites',
+ 'allauth',
+ 'allauth.account',
+ 'allauth.socialaccount',
+ 'allauth.socialaccount.providers.github',
+ 'allauth.socialaccount.providers.orcid',
'mod_wsgi.server'
]
@@ -140,3 +147,15 @@ GRAPH_MODELS = {
'all_applications': True,
'group_models': True,
}
+
+# myproject/settings.py
+AUTHENTICATION_BACKENDS = (
+ "django.contrib.auth.backends.ModelBackend",
+ "allauth.account.auth_backends.AuthenticationBackend",
+)
+
+SITE_ID = 1
+
+LOGIN_REDIRECT_URL = '/'
+
+LOGOUT_REDIRECT_URL = '/'