def get_app(self): from consoleme.config import config self.config = config from consoleme.routes import make_app return make_app(jwt_validator=lambda x: {})
def get_app(self): from consoleme.config import config config.CONFIG.config["auth"]["get_user_by_password"] = True config.CONFIG.config["auth"]["set_auth_cookie"] = True from consoleme.routes import make_app return make_app(jwt_validator=lambda x: {})
def main(): if config.get("sso.create_mock_jwk"): app = make_app(jwt_validator=lambda x: {}) else: app = make_app() return app