-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add CSOT to OIDC. #1741
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
base: main
Are you sure you want to change the base?
Add CSOT to OIDC. #1741
Conversation
JAVA-5357
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.
One question and one nit
driver-core/src/main/com/mongodb/internal/connection/SaslAuthenticator.java
Outdated
Show resolved
Hide resolved
if (timeoutContext.hasTimeoutMS()) { | ||
return assertNotNull(timeoutContext.getTimeout()).call(TimeUnit.MILLISECONDS, | ||
() -> { | ||
Assertions.fail(); |
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.
From the tests it looks like it should fall back to serverSelectionTimeoutMS
- if theres an infinite timeout - so how does that logic work?
Also it might be best to put an assertion message incase a future regression means this code path is hit - potentially would make debugging it easier.
…nticator.java Co-authored-by: Ross Lawley <ross.lawley@gmail.com>
JAVA-5357