Skip to content

Allow to skip "issued at" validation - #297

Merged
lbalmaceda merged 5 commits into
auth0:masterfrom
complanboy2:issue254
Jan 12, 2019
Merged

Allow to skip "issued at" validation#297
lbalmaceda merged 5 commits into
auth0:masterfrom
complanboy2:issue254

Conversation

@complanboy2

@complanboy2 complanboy2 commented Oct 30, 2018

Copy link
Copy Markdown

The default behavior remains the same: Always verify the iat.

Will close #254

@complanboy2

complanboy2 commented Nov 21, 2018

Copy link
Copy Markdown
Author

Any hope for getting this reviewed in 2018 !

And also please check, #289

@svenwb

svenwb commented Jan 10, 2019

Copy link
Copy Markdown

Is there any eta when this will be reviewed?

@lbalmaceda lbalmaceda left a comment

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.

@complanboy2 Sorry for the delay. Please use spaces instead of tabs and fix the indentation so the file maintains the same formatting as before. I've left you a few comments. But mainly, the PR is missing the core check. You should be skipping the iat verification if the flag is present at this line.

Comment thread lib/src/main/java/com/auth0/jwt/JWTVerifier.java Outdated
Comment thread lib/src/test/java/com/auth0/jwt/JWTVerifierTest.java Outdated
Comment thread lib/src/test/java/com/auth0/jwt/JWTVerifierTest.java Outdated
Comment thread lib/src/test/java/com/auth0/jwt/JWTVerifierTest.java

@lbalmaceda lbalmaceda left a comment

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.

Please rebase the branch

Comment thread lib/src/main/java/com/auth0/jwt/JWTVerifier.java Outdated
Comment thread lib/src/main/java/com/auth0/jwt/JWTVerifier.java Outdated
Comment thread lib/src/main/java/com/auth0/jwt/JWTVerifier.java Outdated
@lbalmaceda lbalmaceda changed the title Issue#254: iat validation will be done by default and it can be ignor… Allow to skip "issued at" validation Jan 12, 2019
@lbalmaceda
lbalmaceda merged commit 08def5e into auth0:master Jan 12, 2019
@lbalmaceda lbalmaceda added this to the v3-Next milestone Jan 12, 2019
@lbalmaceda

Copy link
Copy Markdown
Contributor

Thanks!

@complanboy2
complanboy2 deleted the issue254 branch January 13, 2019 12:56
@svenwb

svenwb commented Jan 14, 2019

Copy link
Copy Markdown

Hi @lbalmaceda thanks for moving this forward!
How does the release process of this pull request look like?
Is there any release planed which includes this change?
Thanks :)

@lbalmaceda

Copy link
Copy Markdown
Contributor

@svenwb I'll see if I can fit another change by end of week and make a release.

@lbalmaceda lbalmaceda modified the milestones: v3-Next, 3.6.0 Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iat should not be used for token lifetime validation

3 participants