mikenicholson / passport-jwt

Passport authentication using JSON Web Tokens
MIT License
1.96k stars 213 forks source link

Change fail body #164

Closed NookieGrey closed 5 years ago

NookieGrey commented 6 years ago

Is it possible to change fail body to JSON if token not present?

I tryed to set callback, but it not fires.

mikenicholson commented 5 years ago

Closing as there is not enough information to answer this question.

If you can provide a succinct and self-contained code example or a failing unit test to illustrate the problem, please feel free to reopen and elaborate on your question.