Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

How to set jti and custom properties #6

Open
lehuuthien2 opened this issue Apr 5, 2022 · 1 comment
Open

How to set jti and custom properties #6

lehuuthien2 opened this issue Apr 5, 2022 · 1 comment

Comments

@lehuuthien2
Copy link

I try to set jti like this but it not working

auth.use("jwt").generate(user, {
  payload: {
      name: user.name,
      email: user.email,
      
  },
  jti: hash,
  token_type: "access"
})
@maxgalbu
Copy link
Owner

maxgalbu commented Apr 26, 2022

JTI are not supported right now, but pull requests are welcome 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants