-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
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
bug: jti not used during JWT.sign #33
Labels
bug
Something isn't working
Comments
panva
changed the title
bug: missing jti in JWT.sign
question: autogenerate jti during JWT.sign
Jul 14, 2019
panva
changed the title
question: autogenerate jti during JWT.sign
bug: jti not used during JWT.sign
Jul 14, 2019
@alvis thank you, i can see the issue now. (after having a second look) definitely something to fix to behave as documented. |
Thank you @panva ;) |
@alvis v1.4.1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using JWT.sign,
jti
can be supplied as an option for it to be included in the payload.However,
jti
is currently not included in the payload generationsee below:
jose/lib/jwt/sign.js
Lines 65 to 74 in 10a1b64
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: