Skip to content

Commit

Permalink
OIDC UserInfo Endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Aug 27, 2024
1 parent 3fbf595 commit fd8dd4c
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,6 @@ public Optional<SecurityResponse> reRequestAuthentication(SecurityRequest reques
return Optional.empty();
}

// Public for testing
public CloseableHttpClient createHttpClient() {
HttpClientBuilder builder;
builder = HttpClients.custom();
builder.useSystemProperties();
if (sslConfig != null) {
final HttpClientConnectionManager cm = PoolingHttpClientConnectionManagerBuilder.create()
.setSSLSocketFactory(sslConfig.toSSLConnectionSocketFactory())
.build();

builder.setConnectionManager(cm);
}

return builder.build();
}

/**
* This method performs the logic required for making use of the userinfo_endpoint OIDC feature.
* Per the spec: https://openid.net/specs/openid-connect-core-1_0.html#UserInfo there are 10 verification steps we must perform
Expand Down

0 comments on commit fd8dd4c

Please sign in to comment.