ToastShaman / dropwizard-auth-jwt

A Dropwizard authentication filter using JSON Web Token (JWT)
Apache License 2.0
116 stars 50 forks source link

Add debug logging if no valid token received #35

Open gluefactory opened 6 years ago

gluefactory commented 6 years ago

Not sure if this is a good idea or not. We recently had an issue where a client of our Dropwizard/JWT app was getting an un-authenticated response and no clues in the app logs as to why. We had to help debug whereas it would be nice if they could just enable debug logging to get more of an idea what was happening, to resolve it themselves

(They had forgotten to put Bearer in the header!!!)