We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nbf
Reproduce:
const { createSigner, createVerifier } = require('fast-jwt') const sig = createSigner({ key: 'secret' }) const verify = createVerifier({ key: 'secret' }) const jwt = sig({ sub: 'Jasmine', nbf: 9999999999 }) // => 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJKYXNtaW5lIiwiaWF0IjoxNzIwMTQ3OTczfQ.2kp_a2VgX2mYjtSDryIM2IVPbbMgdCtIPYf7uMSNAfI' verify(jwt) // => { sub: 'Jasmine', iat: 1720147973 }
I expected the signed JWT to contain the nbf field that I provided.
Related to #58
The text was updated successfully, but these errors were encountered:
fix #453: use nbf claim if present on body, solve false positive test…
5ffeedf
… related to nbf claim
3eaa791
🎉 This issue has been resolved in version 4.0.2 🎉
The release is available on:
Your optic bot 📦🚀
Sorry, something went wrong.
JacopoPatroclo
Successfully merging a pull request may close this issue.
Reproduce:
I expected the signed JWT to contain the
nbf
field that I provided.Related to #58
The text was updated successfully, but these errors were encountered: