Skip to content
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

Upgrade dependencies #6

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=11.0.18-tem
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repositories {

ext {
versions = [
wiremock : "3.5.2",
wiremock : "3.9.1",
jwt : '4.4.0',
jose4j : '0.9.6',
]
Expand Down Expand Up @@ -56,12 +56,12 @@ ext {

dependencies {
api "org.wiremock:wiremock:$versions.wiremock"
implementation "com.auth0:auth0:2.10.0"
implementation "com.auth0:auth0:2.12.0"
implementation "com.auth0:java-jwt:$versions.jwt"
implementation "com.auth0:jwks-rsa:0.22.1"
implementation "org.bitbucket.b_c:jose4j:$versions.jose4j"
implementation 'org.apache.commons:commons-lang3:3.14.0'
implementation 'commons-codec:commons-codec:1.16.0'
implementation 'org.apache.commons:commons-lang3:3.17.0'
implementation 'commons-codec:commons-codec:1.17.1'
}

shadowJar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void returns_JSON_web_key_for_RSA256_public_key() {

JwkRsaKeyProvider keyProvider =
new JwkRsaKeyProvider(
new ApacheBackedHttpClient(HttpClientFactory.createClient()), wm.baseUrl());
new ApacheBackedHttpClient(HttpClientFactory.createClient(), false), wm.baseUrl());

String body = getForTemplate("{{{jwt alg='RS256'}}}");
DecodedJWT jwt = JWT.decode(body);
Expand Down
Loading