-
Notifications
You must be signed in to change notification settings - Fork 6k
OidcIdTokenValidator ensures clockSkew is positive number #6514
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
OidcIdTokenValidator ensures clockSkew is positive number #6514
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @vishalvrv9! Please see my comments for some minor updates. Also, can you ensure the commit message follows this format.
...ava/org/springframework/security/oauth2/client/oidc/authentication/OidcIdTokenValidator.java
Outdated
Show resolved
Hide resolved
...rg/springframework/security/oauth2/client/oidc/authentication/OidcIdTokenValidatorTests.java
Outdated
Show resolved
Hide resolved
...rg/springframework/security/oauth2/client/oidc/authentication/OidcIdTokenValidatorTests.java
Outdated
Show resolved
Hide resolved
...rg/springframework/security/oauth2/client/oidc/authentication/OidcIdTokenValidatorTests.java
Outdated
Show resolved
Hide resolved
syncing fork with base
@vishalvrv9 Thanks for the updates. It appears the changes are not compiling. You can check the build by running:
|
Thanks @vishalvrv9. This is ready to get merged. Before we proceed, can you please squash the commits to 1. As well, ensure the commit message follows this format. Thank you! |
@jgrandja have squashed the commit, does this work? |
@vishalvrv9 There are 3 commits and there should only be 1 - this one 74dc68a5792cdbd5eeb0313c1c542627a7377776. The 2 merge commits should not be there. You need to rebase on master and add that one commit. Makes sense? |
@vishalvrv9 I think the easiest thing to do is start a new branch from |
@jgrandja I think using Apologies for the non-issue related hassle I'm creating. At this point, I just feel like starting from scratch would be more efficient but I wish there was a way out. |
@vishalvrv9 Ok, let's start from scratch. Assuming your branch name for the PR is called Checkout branch
Move/copy the branch to new name (for backup)
Create new branch with same name as in PR - starting from
Cherry-pick the commit in branch
Now you can force-push Let me know if you have any questions. |
@vishalvrv9 Do you need any further help with this? Would you like me to get this rebased and merged? |
Hey @jgrandja ,
results in
Also tried deleting the local repo, adding upstream back & trying the above steps but the aforementioned error still perists. |
@vishalvrv9 I re-tried the steps I outlined above and it worked on my end. Not sure why you are getting that error message. If you don't mind?...I can get this merged as I would like to get this in for the 5.2.0.M2 release scheduled for April 15. |
@jgrandja, |
@vishalvrv9 Not a problem at all - you were not a hindrance. Git is very powerful but it could take some time to get used to. Hopefully you learned something new and the next time will be easier :) Thanks again for your contribution! This is now in master. |
This pull request is in reference to #6443
Previously, the OidcIdTokenValidator.setClockSkew() asserted the clockSkew is not null.
This PR consists of: