You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also did find this Issue which is similar but instead for allowing aud to be optional but it was closed and I couldn't find the relevant changes made.
It's not mandatory after all in com.auth0:java-jwt. It's just that when the claim is present, it will be checked, which makes sense. I checked with a unit test. Pushing a PR to address this issue.
Activity
lhotari commentedon Jan 29, 2026
Looks like nbf might be mandatory also in the com.auth0:java-jwt library used in Pulsar: https://github.com/auth0/java-jwt/blob/ee7332b023719a9007be0caf5ef7608840fc4946/lib/src/main/java/com/auth0/jwt/JWTVerifier.java#L309-L310 .
Very odd since it's a library by Auth0.
lhotari commentedon Jan 30, 2026
It's not mandatory after all in
com.auth0:java-jwt. It's just that when the claim is present, it will be checked, which makes sense. I checked with a unit test. Pushing a PR to address this issue.lhotari commentedon Jan 30, 2026
PR in #25197
qweasd1 commentedon Jan 30, 2026
thank you so much @lhotari! feel free to close the issue and let us know when this new version will be out!
lhotari commentedon Feb 2, 2026
Fixed by #25197