From 44621249342f03631461882d00d5dc3958240518 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Fri, 7 Jul 2023 19:31:37 +0100 Subject: [PATCH] DevServices for Keycloak should support refresh token grant --- .../devservices/keycloak/KeycloakDevServicesProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java index fdcbd8d3ce577..30c8f2f724f90 100644 --- a/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java +++ b/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java @@ -721,6 +721,7 @@ private RealmRepresentation createDefaultRealmRep() { realm.setClients(new ArrayList<>()); realm.setAccessTokenLifespan(600); realm.setSsoSessionMaxLifespan(600); + realm.setRefreshTokenMaxReuse(10); RolesRepresentation roles = new RolesRepresentation(); List realmRoles = new ArrayList<>();