I have been trying to build a web app using flask and wtforms and a firebase database, but I keep getting the error message \"KeyError: \'A secret key is required to use CSRF.\'
Add this line to your app code:
app
app.config['SECRET_KEY'] = 'any secret string'