Skip to content

Commit

Permalink
fix(deps): update dependency org.keycloak:keycloak-admin-client to v23 (
Browse files Browse the repository at this point in the history
#484)

* fix(deps): update dependency org.keycloak:keycloak-admin-client to v23

* chore: code adjusted

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michal Augustýn <[email protected]>
  • Loading branch information
renovate[bot] and augi authored Jan 9, 2024
1 parent 544203e commit 3c31895
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keycloak/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protobuf {

dependencies {
api project(':core')
api 'org.keycloak:keycloak-admin-client:22.0.5'
api 'org.keycloak:keycloak-admin-client:23.0.4'
api 'javax.annotation:javax.annotation-api:1.3.2'
api 'org.bouncycastle:bcprov-jdk15on:1.70'
api 'com.typesafe:config:1.4.3'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.avast.grpc.jwt.keycloak.server;

import com.avast.grpc.jwt.server.JwtTokenParser;

import java.util.Collections;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;
Expand Down Expand Up @@ -34,7 +36,7 @@ public KeycloakJwtTokenParser(
new TokenVerifier.Predicate[] {
new IssuersCheck(issuers.toArray(new String[0])),
TokenVerifier.SUBJECT_EXISTS_CHECK,
new TokenVerifier.TokenTypeCheck(TokenUtil.TOKEN_TYPE_BEARER),
new TokenVerifier.TokenTypeCheck(Collections.singletonList(TokenUtil.TOKEN_TYPE_BEARER)),
TokenVerifier.IS_ACTIVE
};
}
Expand Down

0 comments on commit 3c31895

Please sign in to comment.