added OpenID Connect support

This commit is contained in:
Tobias Kurze
2019-03-19 15:29:26 +01:00
parent bd9b6c61d3
commit 9d9c58d268
8 changed files with 289 additions and 16 deletions

View File

@@ -6,6 +6,11 @@ basedir = os.path.abspath(os.path.dirname(__file__))
class Config():
SERVER_NAME = "ubkaps154.ubka.uni-karlsruhe.de:5443"
#SERVER_NAME = "localhost.dev"
#SERVER_NAME = "localhost:5443"
PREFERRED_URL_SCHEME = 'https'
TEMPLATE_AUTO_RELOAD = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
@@ -69,6 +74,8 @@ class ProductionConfig(Config):
class DevelopmentConfig(Config):
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db_debug')
SERVER_NAME = "ubkaps154.ubka.uni-karlsruhe.de"
PORT = 5443
DEBUG = True
class TestingConfig(Config):