From e08c5e8c303a63550f465eed74ee35a92d66b519 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Fri, 1 Sep 2023 14:01:16 +0100 Subject: [PATCH] Fix typo which affects OIDC Dev UI when either client credentials or password grant is used (cherry picked from commit 5c46d30456ba3d62970ce685bcfdb8a996724017) --- .../io/quarkus/oidc/runtime/devui/OidcDevServicesUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/devui/OidcDevServicesUtils.java b/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/devui/OidcDevServicesUtils.java index 411c2a6161609..5d9fc9335c0a8 100644 --- a/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/devui/OidcDevServicesUtils.java +++ b/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/devui/OidcDevServicesUtils.java @@ -185,9 +185,9 @@ public static Uni testServiceWithPassword(String tokenUrl, String servic return token.eventually(client::close); } - private static Uni testServiceInternal(WebClient client, String serviceUrl, Uni token) { - return token - .flatMap(t -> { + private static Uni testServiceInternal(WebClient client, String serviceUrl, Uni tokenUni) { + return tokenUni + .flatMap(token -> { LOG.infof("Sending token to '%s'", serviceUrl); return client .getAbs(serviceUrl)