Skip to content
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

Add Expire options in JWT #33

Open
codetheorem opened this issue Dec 3, 2020 · 2 comments
Open

Add Expire options in JWT #33

codetheorem opened this issue Dec 3, 2020 · 2 comments
Labels
enhancement New feature or request nodejs

Comments

@codetheorem
Copy link
Member

Is your feature request related to a problem? Please describe.
JWT token generated now remains forever. It is not secure for the system
.
Describe the solution you'd like
Add Expire options in the newToken function in auth,js in utils.

Additional context
https://www.npmjs.com/package/jsonwebtoken

@kunaljain0212
Copy link

Can I work on this, please? @codetheorem

@codetheorem
Copy link
Member Author

@codetheorem codetheorem added enhancement New feature or request nodejs labels Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nodejs
Projects
None yet
Development

No branches or pull requests

2 participants