Skip to content
Snippets Groups Projects

Fix api bugs with tests

Merged Fanna Lautenbach requested to merge fix-api-bugs-with-tests into master
All threads resolved!
17 files
+ 622
155
Compare changes
  • Side-by-side
  • Inline
Files
17
+ 31
0
 
"""
 
Django settings for esap project for development
 
"""
 
import logging
 
 
from esap.settings.base import *
 
 
import os
 
 
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
 
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
 
logging.disable(logging.CRITICAL)
 
 
CORS_ORIGIN_ALLOW_ALL = True
 
CORS_ALLOW_CREDENTIALS = True
 
 
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
 
 
DATABASES = {
 
'default': {
 
'ENGINE': 'django.db.backends.sqlite3',
 
'NAME': os.path.join(BASE_DIR, 'esap_config.sqlite3'),
 
}, }
 
 
OIDC_OP_TOKEN_ENDPOINT = os.getenv('OIDC_OP_TOKEN_ENDPOINT')
 
OIDC_OP_USER_ENDPOINT = os.getenv('OIDC_OP_USER_ENDPOINT')
 
OIDC_RP_CLIENT_ID = os.getenv('OIDC_RP_CLIENT_ID')
 
OIDC_OP_JWKS_ENDPOINT = os.getenv('OIDC_OP_JWKS_ENDPOINT')
 
OIDC_RP_CLIENT_SECRET = os.getenv('OIDC_RP_CLIENT_SECRET')
 
OIDC_OP_AUTHORIZATION_ENDPOINT = os.getenv('OIDC_OP_AUTHORIZATION_ENDPOINT')
 
\ No newline at end of file
Loading