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 28, 2024
1 parent 8045ada commit 66f4800
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public String toAuthorizationHeader() {
String contentType = String.valueOf(httpResponse.getHeaderValues("content-type"));

JWTClaimsSet claims;
boolean isSigned = contentType.contains(ContentType.APPLICATION_JWT.toString());
boolean isSigned = contentType.contains(ContentType.APPLICATION_JWT.getType());
if (isSigned) { // We don't need the userinfo_encrypted_response_alg since the
// selfRefreshingKeyProvider has access to the keys
claims = openIdJwtAuthenticator.getJwtClaimsSetFromInfoContent(
Expand Down

0 comments on commit 66f4800

Please sign in to comment.