python-flask-oreilly-lab To generate a token secret go to the terminal in python mode then run: import secrets secrets.token_hex(16)