2020-05-09 18:00:07 +00:00
|
|
|
SECRET_KEY = 'secret_key'
|
2020-05-09 19:07:46 +00:00
|
|
|
SESSION_COOKIE_NAME='lc_session'
|
2020-05-09 18:00:07 +00:00
|
|
|
SUBJECT_ID_HASH_SALT = 'salt'
|
|
|
|
PREFERRED_URL_SCHEME = 'https'
|
|
|
|
|
2022-02-06 22:57:01 +00:00
|
|
|
DATA_FOLDER = "../data"
|
2020-05-09 18:57:16 +00:00
|
|
|
|
2022-04-08 19:29:23 +00:00
|
|
|
SCRIPT_LOCATION="lenticular_cloud:migrations"
|
2020-05-09 19:07:46 +00:00
|
|
|
SQLALCHEMY_DATABASE_URI = f'sqlite:///{DATA_FOLDER}/db.sqlite'
|
2020-05-21 11:20:27 +00:00
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS=False
|
2020-05-09 18:00:07 +00:00
|
|
|
|
|
|
|
LDAP_URL = 'ldaps://ldap.example.org'
|
|
|
|
LDAP_BASE_DN = 'dc=example,dc=com'
|
|
|
|
LDAP_BIND_DN = 'cn=admin,' + LDAP_BASE_DN
|
|
|
|
LDAP_BIND_PW = '123456'
|
|
|
|
|
|
|
|
|
2020-05-09 18:57:16 +00:00
|
|
|
PKI_PATH = f'{DATA_FOLDER}/pki'
|
2020-05-09 19:07:46 +00:00
|
|
|
DOMAIN = 'example.com'
|
2020-05-25 18:23:27 +00:00
|
|
|
#SERVER_NAME = f'account.{ DOMAIN }:9090'
|
2020-05-09 18:00:07 +00:00
|
|
|
|
2020-05-21 11:20:27 +00:00
|
|
|
HYDRA_REQUEST_TIMEOUT_SECONDS = 3
|
|
|
|
HYDRA_ADMIN_URL = 'http://127.0.0.1:4445'
|
2020-06-21 09:42:23 +00:00
|
|
|
HYDRA_ADMIN_USER = 'lenticluar_cloud'
|
|
|
|
HYDRA_ADMIN_PASSWORD = 'notSecure'
|
2020-05-21 11:20:27 +00:00
|
|
|
HYDRA_PUBLIC_URL = 'http://127.0.0.1:4444'
|
|
|
|
SUBJECT_PREFIX = 'something random'
|
|
|
|
|
|
|
|
OAUTH_ID = 'identiy_provider'
|
|
|
|
OAUTH_SECRET = 'ThisIsNotSafe'
|
|
|
|
|
|
|
|
|
2020-05-09 18:00:07 +00:00
|
|
|
|
|
|
|
LENTICULAR_CLOUD_SERVICES = {
|
|
|
|
'jabber': {
|
|
|
|
'client_cert': True,
|
2020-05-10 17:37:57 +00:00
|
|
|
'pki_config':{
|
2020-05-09 18:00:07 +00:00
|
|
|
'email': '{username}@jabber.{domain}'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
'calendar': {
|
|
|
|
'client_cert': True
|
2020-05-10 17:37:57 +00:00
|
|
|
},
|
|
|
|
'mail': {
|
|
|
|
'client_cert': True
|
2020-05-09 18:00:07 +00:00
|
|
|
}
|
|
|
|
}
|