flask-jwt
flask-jwt copied to clipboard
Unhelpful error when JWT_SECRET_KEY is not set.
If no secret key is set (that is, None), the following error is reported:
TypeError: Expecting a string- or bytes-formatted key.
A more helpful message would be nice.
+1, saved my day...
Wow after googling around with no luck, and I land on this post. Thank you, saved my day.
Legend.
+1, Thanks for this post.
Thanks alot @exhuma this worked for me
This really saved me. I've been debugging a test application that keeps showing this error for hours. Thanks.
After 2 or 3 hours of debugging, found this issue. Thanks :)