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

res.sign() does not request for a new secret. #2

Open
celleb opened this issue Nov 21, 2017 · 2 comments
Open

res.sign() does not request for a new secret. #2

celleb opened this issue Nov 21, 2017 · 2 comments

Comments

@celleb
Copy link

celleb commented Nov 21, 2017

When a request is made and the token is validated with a certain secret, this secret is reused when signing with res.sign(), I would prefer that it request a new secret i.e. call the secret function again.

@AustP
Copy link
Owner

AustP commented Nov 22, 2017

Do you mean jwt.resign()?

@celleb
Copy link
Author

celleb commented Dec 5, 2017

sign(payload), in this case I have a new payload

@AustP AustP added duplicate and removed duplicate labels Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants