Created
October 24, 2020 17:27
-
-
Save mdipierro/4d9d3704e6ba542bb3f8d34c925b051d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jwt | |
jwt_data = jwt.decode(some_data, secret) | |
form = Form(.... hidden=dict(mydata=jwt_data)) | |
if form.accepted: | |
some_data = jwt.decode(request.forms['mydata'], secret) | |
... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment