Alings SimpleHttp API with new version
This commit is contained in:
parent
210143738e
commit
63e8e7f842
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class OpenshiftV3IdentityProvider extends AbstractOAuth2IdentityProvider<
|
|||
}
|
||||
|
||||
private JsonNode fetchProfile(String accessToken) throws IOException {
|
||||
return JsonSimpleHttp.asJson(SimpleHttp.doGet(getConfig().getUserInfoUrl())
|
||||
return JsonSimpleHttp.asJson(SimpleHttp.doGet(getConfig().getUserInfoUrl(), this.session)
|
||||
.header("Authorization", "Bearer " + accessToken));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue