Skip to content

Improved OIDC compliance#43

Merged
lbalmaceda merged 31 commits intomasterfrom
oidc-improves
Oct 29, 2019
Merged

Improved OIDC compliance#43
lbalmaceda merged 31 commits intomasterfrom
oidc-improves

Conversation

@lbalmaceda
Copy link
Copy Markdown
Contributor

Changes

This update improves the SDK support for OpenID Connect. In particular, it modifies the sign in verification phase by substituting backchannel based checks with id_token validation where possible.

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds test coverage
  • This change has been tested on the latest version of Java or why not

Checklist

@lbalmaceda lbalmaceda added the large Large review label Oct 22, 2019
@lbalmaceda lbalmaceda added this to the v1-Next milestone Oct 22, 2019
@lbalmaceda lbalmaceda requested a review from a team October 22, 2019 21:27
Copy link
Copy Markdown
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

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

Adding as a comment so I'm not a blocker. Feel free to resolve any questions I'm asking that are handled (no need for an explanation, I'll assume "yes, that's fine").

In general, I would suggest moving anything in the RequestProcessor that's not specific to the ID token validation into a new PR.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread src/main/java/com/auth0/RequestProcessor.java
Comment thread src/main/java/com/auth0/RequestProcessor.java Outdated
Comment thread src/main/java/com/auth0/RequestProcessor.java Outdated
Comment thread src/main/java/com/auth0/RequestProcessor.java Outdated
Comment thread src/main/java/com/auth0/SignatureVerifier.java
Comment thread README.md Outdated
Comment thread README.md Outdated
lbalmaceda and others added 3 commits October 25, 2019 15:08
Co-Authored-By: Josh Cunningham <josh.cunningham@auth0.com>
Co-Authored-By: Josh Cunningham <josh.cunningham@auth0.com>
Comment thread README.md
@lbalmaceda
Copy link
Copy Markdown
Contributor Author

LGTM!

Copy link
Copy Markdown
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

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

🎉 🎉 🎉

Comment thread src/main/java/com/auth0/AlgorithmNameVerifier.java
Comment thread src/main/java/com/auth0/IdTokenVerifier.java
Comment thread src/main/java/com/auth0/IdTokenVerifier.java
Comment thread src/main/java/com/auth0/RequestProcessor.java
Comment thread src/test/java/com/auth0/SignatureVerifierTest.java
Comment thread src/test/java/com/auth0/InvalidRequestExceptionMatcher.java
Comment thread src/main/java/com/auth0/IdTokenVerifier.java
Comment thread src/main/java/com/auth0/IdTokenVerifier.java
Copy link
Copy Markdown

@gkwang gkwang left a comment

Choose a reason for hiding this comment

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

Small nit, but otherwise lgtm.

Comment thread src/main/java/com/auth0/IdTokenVerifier.java
@lbalmaceda lbalmaceda merged commit 6d389c8 into master Oct 29, 2019
@lbalmaceda lbalmaceda deleted the oidc-improves branch October 29, 2019 21:18
@lbalmaceda lbalmaceda modified the milestones: v1-Next, 1.1.0 Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants