pallets-eco / flask-jwt

JWT (JSON Web Tokens) for Flask applications
MIT License
564 stars 177 forks source link

A list of all JWT related error cases #117

Open jakubczaplicki opened 7 years ago

jakubczaplicki commented 7 years ago

Would it be possible to generate a list of all JWT related error cases such as ["Invalid token", "Invalid JWT header", "Authorization Required"] together with their descriptions ["Signature has expired", "Not enough segments", etc] with an explanation of when each occurs ?

tr0yspradling commented 6 years ago

Yeah. This would be nice.

I get "Not enough segments" when I try to use an environment variable to insert my access token into the headers. I have to copy & paste it into the command every time or I get that error.