Skip to content

Commit

Permalink
Update OIDC to use GET for UserInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed May 5, 2021
1 parent adc3678 commit 4be9cef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Uni<JsonWebKeyCache> getJsonWebKeySet() {
}

public Uni<JsonObject> getUserInfo(String token) {
return client.postAbs(metadata.getUserInfoUri())
return client.getAbs(metadata.getUserInfoUri())
.putHeader(AUTHORIZATION_HEADER, OidcConstants.BEARER_SCHEME + " " + token)
.send().onItem().transform(resp -> getUserInfo(resp));
}
Expand Down

0 comments on commit 4be9cef

Please sign in to comment.