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

auth_time and max_age are provided in seconds #489

Closed
mvakulich opened this issue May 31, 2020 · 1 comment · Fixed by #497
Closed

auth_time and max_age are provided in seconds #489

mvakulich opened this issue May 31, 2020 · 1 comment · Fixed by #497
Labels
bug This points to a verified bug in the code

Comments

@mvakulich
Copy link

(parseInt(decoded.claims.auth_time) + options.max_age) / 1000 + leeway

here is the issue, where auth_time and max_age as per docs should be a seconds
and division by 1000 breaking token validation

@stevehobbsdev stevehobbsdev added the bug This points to a verified bug in the code label Jun 1, 2020
@stevehobbsdev
Copy link
Contributor

Thanks for raising @mvakulich - let us look into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants