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
  • Loading branch information
sberyozkin committed Sep 1, 2023
1 parent 632f571 commit 5c46d30
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 5c46d30

Please sign in to comment.