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)