Skip to content

Commit

Permalink
Update google-oauth-client-bom
Browse files Browse the repository at this point in the history
Signed-off-by: Appu Goundan <[email protected]>
  • Loading branch information
loosebazooka committed Feb 6, 2024
1 parent 3262be6 commit d21784f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sigstore-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
implementation("org.bouncycastle:bcutil-jdk18on:1.77")
implementation("org.bouncycastle:bcpkix-jdk18on:1.77")

implementation(platform("com.google.oauth-client:google-oauth-client-bom:1.34.1"))
implementation(platform("com.google.oauth-client:google-oauth-client-bom:1.35.0"))
implementation("com.google.oauth-client:google-oauth-client")
implementation("com.google.oauth-client:google-oauth-client-jetty")
implementation("com.google.oauth-client:google-oauth-client-java6")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public OidcToken getIDToken() throws OidcException {
.setIssuer(issuer)
.setCertificatesLocation(endpoints.getJwksUri())
.build();
if (!idTokenVerifier.verify(parsedIdToken)) {
if (!idTokenVerifier.verifyOrThrow(parsedIdToken)) {
throw new OidcException("id token could not be verified");
}
} catch (IOException e) {
Expand Down

0 comments on commit d21784f

Please sign in to comment.