dropwizard-auth-jwt icon indicating copy to clipboard operation
dropwizard-auth-jwt copied to clipboard

Token expiry cannot be detected by application anymore

Open situokko opened this issue 7 years ago • 1 comments

As JwtAuthFilter was changed in 0.9->1.0, the Authenticator no more get called if token has been expired.

In my app I handle it as a "soft" error, and provide user easy path to re-authenticate. However now as the filter already detects it and directly throws InvalidJwtException => WebApplicationException, and hides the fact that it was only expired. There is no way in intervene.

situokko avatar Aug 04 '17 10:08 situokko

Is this resolved with #33 ?

ToastShaman avatar Aug 05 '17 10:08 ToastShaman