This repository has been archived on 2020-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
statuspage/statuspagerc
surtur 927bdd03ce
feat: added JWT-based authentication; introduced config file
* authorization [WIP]
* refactored several sections
* used dict(exclude_unset=True)
* global values are now sourced from a config file (statuspagerc)
2020-08-11 11:48:46 +02:00

13 lines
390 B
Plaintext

# statuspage configuration file
# database file
DATABASE=sqlite:///sql_app.db
# [JWT related parameters]
# it's imperative you CHANGE JWT_SECRET to a unique value
# you can generate a random one with 'openssl rand -hex 64'
JWT_SECRET = 'deadbeefdeafbeefd34db33fdeadbeefdeafbeefd34db33fdeadbeefdeafbeefd34db33f'
JWT_ALGORITHM = "HS256"
# token expiration time in seconds
JWT_EXPIRY = 7200