Skip to content

Not Before (nbf) calculated based on iat/timestamp#437

Merged
ziluvatar merged 1 commit intoauth0:masterfrom
MitMaro:435-nbf-invalid
Jan 19, 2018
Merged

Not Before (nbf) calculated based on iat/timestamp#437
ziluvatar merged 1 commit intoauth0:masterfrom
MitMaro:435-nbf-invalid

Conversation

@MitMaro
Copy link
Copy Markdown
Contributor

@MitMaro MitMaro commented Jan 11, 2018

See #435

Set nbf value based on the timestamp.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the timestamp will be the iat, shouldn't it be equal always (instead of "closeTo")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree completely! I was following the previous test example to keep the style the same, but I will gladly update.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to check for direct equals.

@ziluvatar ziluvatar merged commit 2764a64 into auth0:master Jan 19, 2018
@MitMaro MitMaro mentioned this pull request Jun 14, 2018
23 tasks
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

Successfully merging this pull request may close these issues.

2 participants