-
Notifications
You must be signed in to change notification settings - Fork 26k
Update OAuth2 OIDC SDK #108799
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
Merged
AthenaEryma
merged 67 commits into
elastic:main
from
AthenaEryma:update/oauth2-oidc-sdk
Aug 15, 2024
Merged
Update OAuth2 OIDC SDK #108799
Changes from 5 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
2c4dec9
Update OAuth2 OIDC SDK
AthenaEryma e64f184
WIP
AthenaEryma a1934a5
Merge branch 'refs/heads/main' into update/oauth2-oidc-sdk
AthenaEryma 888e32c
Merge branch 'refs/heads/main' into update/oauth2-oidc-sdk
AthenaEryma 49dff07
remove nimbus require
AthenaEryma bbf6ca6
Merge branch 'refs/heads/main' into update/oauth2-oidc-sdk
AthenaEryma 522a35e
trying the require in core
AthenaEryma 3e096e6
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma c74e5bb
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma e254719
update to jose-jwt 9.39.1, fixing all the module issues -_-
AthenaEryma 21997c9
Merge branch 'refs/heads/main' into update/oauth2-oidc-sdk
AthenaEryma ac70e82
finally got this working, thanks chris
AthenaEryma 6891526
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma 893495d
9.39.3 patch
AthenaEryma a43c02a
Revert "9.39.3 patch"
AthenaEryma 5fdeb93
back to 9.37.3
AthenaEryma a1d46cc
Merge branch 'refs/heads/main' into update/oauth2-oidc-sdk
AthenaEryma 288a129
cleanup
AthenaEryma cb5d41e
Merge branch 'refs/heads/main' into update/oauth2-oidc-sdk
AthenaEryma 0d19906
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma fc44310
add doPrivileged call
AthenaEryma e650536
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma 183bb47
one more doPrivileged
AthenaEryma 4bd6cc3
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma 6ccacc9
Add unit test reproducing crypto threadpool queue overflow
AthenaEryma 0556a5b
Fix cache issues on crypto threadpool overflow
AthenaEryma 6e45bd6
Revert "Fix cache issues on crypto threadpool overflow"
AthenaEryma 2deeffe
Revert "Add unit test reproducing crypto threadpool queue overflow"
AthenaEryma 7b240e9
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma ba520c1
WIP
AthenaEryma 2a288c7
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma 2c0dece
passes the testFailureOnExpiredJwt
jakelandis faf294f
Disable security manager for JWT & OIDC unit tests
AthenaEryma 53405d1
Fix failure in unit test
AthenaEryma 99d57b8
Wrap jose access in JWT `ESIntegTestCase`s
AthenaEryma 5980a74
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma b760c6c
Expand wrapper to include nimbus
AthenaEryma 0edae4a
Fix typo + wrap one more thing
AthenaEryma 0a2fdba
Another wrapper + a bit of cleanup
AthenaEryma f024591
spotless
AthenaEryma b573cea
Include system property necessary for unit tests
AthenaEryma 66fb729
Put testNoSecurityManager next to test
AthenaEryma 4e96c29
General cleanup
AthenaEryma 7a7544a
Revert "Put testNoSecurityManager next to test"
AthenaEryma 06cf7c4
Revert "General cleanup"
AthenaEryma f91badf
Remove comment
AthenaEryma 9f5b12f
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma 44c569e
Remove unnecessary no-op module
AthenaEryma 1273af4
First pass at forbidden APIs
AthenaEryma 69e022f
Ah, that's how you reference inner classes
AthenaEryma cb320bc
That's all of them (in nimbus-jose-jwt)
AthenaEryma ab86673
Just cut this knot
AthenaEryma 706866e
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma c9e4e52
Clean up comments
AthenaEryma 97f178c
Policy cleanup
AthenaEryma 4351a5c
Bit more cleanup
AthenaEryma 291b30c
Break modifications out into "wrapper" classes
AthenaEryma 9e09edb
License headers check
AthenaEryma 575539b
JSONStringUtils javadoc
AthenaEryma 41e0e57
cleanup
AthenaEryma 27d2d96
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma 1fc71bf
Reconfigure the build to reference original class files
AthenaEryma c5c82d8
We have json serializiation at home
AthenaEryma 9e573b7
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma a535fa0
Adjust exception handling per review
AthenaEryma 6b55a8b
Rename directories + spotless
AthenaEryma 20e0b3b
Merge remote-tracking branch 'origin/main' into update/oauth2-oidc-sdk
AthenaEryma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
x-pack/plugin/security/src/main/plugin-metadata/plugin-security.codebases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| netty-common: io.netty.util.NettyRuntime | ||
| netty-transport: io.netty.channel.Channel | ||
| oauth2-oidc-sdk: com.nimbusds.jose.shaded.gson.internal.ConstructorConstructor | ||
| nimbus-jose-jwt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.