Tests for providers callbacks

Also added SERVER_NAME in config_testing and pre-populated the  keys of OAUTH_CREDENTIALS, since the implementation of providers is part of the application.
This commit is contained in:
2017-08-25 10:32:04 +02:00
parent cecf81a07d
commit 41a82c44c5
5 changed files with 93 additions and 42 deletions

View File

@@ -102,7 +102,12 @@ BLENDER_ID_SUBCLIENT_ID = 'PILLAR'
# 'base_url': 'http://blender_id:8000/'
# }
# }
OAUTH_CREDENTIALS = {}
# OAuth providers are defined in pillar.auth.oauth
OAUTH_CREDENTIALS = {
'blender-id': {},
'facebook': {},
'google': {},
}
# See https://docs.python.org/2/library/logging.config.html#configuration-dictionary-schema
LOGGING = {