settings: update path of the msp application

This commit is contained in:
Benjamin Dauvergne 2014-03-24 16:00:19 +01:00
parent 225df4501e
commit 57c6509c6e
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ WCSINST_URL_TEMPLATE = os.environ.get('WCSINST_URL_TEMPLATE',
##################################
if 'MSP' in os.environ:
INSTALLED_APPS += ('msp',)
AUTHENTICATION_BACKENDS += ('msp.backends.MspBackend',)
AUTHENTICATION_BACKENDS += ('portail_citoyen.apps.msp.backends.MspBackend',)
if os.environ['MSP'] == 'prod':
MSP_AUTHORIZE_URL = 'https://mon.service-public.fr/apis/app/oauth/authorize'
MSP_TOKEN_URL = 'https://mon.service-public.fr/apis/app/oauth/token'