Skip to content

Commit

Permalink
Fix typo which affects OIDC Dev UI when either client credentials or …
Browse files Browse the repository at this point in the history
…password grant is used

(cherry picked from commit 5c46d30)
  • Loading branch information
sberyozkin authored and gsmet committed Sep 4, 2023
1 parent 18c2a60 commit e08c5e8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ public static Uni<String> testServiceWithPassword(String tokenUrl, String servic
return token.eventually(client::close);
}

private static Uni<String> testServiceInternal(WebClient client, String serviceUrl, Uni<String> token) {
return token
.flatMap(t -> {
private static Uni<String> testServiceInternal(WebClient client, String serviceUrl, Uni<String> tokenUni) {
return tokenUni
.flatMap(token -> {
LOG.infof("Sending token to '%s'", serviceUrl);
return client
.getAbs(serviceUrl)
Expand Down

0 comments on commit e08c5e8

Please sign in to comment.