Skip to content

Commit

Permalink
MOSIP-36219 - The PMS (and eSignet) Create OIDC endpoints allow dupli…
Browse files Browse the repository at this point in the history
…cate public key (#959)

Signed-off-by: sudeep <[email protected]>
  • Loading branch information
Sudeep7353 authored Oct 28, 2024
1 parent ce063bd commit 06516aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ public ClientDetail processUpdateOIDCClient(String clientId, ClientDetailUpdateR
private String getJWKString(Map<String, Object> jwk) {
try {
JWK jsonWebKey = JWK.parse(jwk);
return jsonWebKey.toJSONObject().toString();
return objectMapper.writeValueAsString(jsonWebKey.toJSONObject());
} catch (Exception e) {
LOGGER.error("createOIDCClient::Failed to process Client Public Key");
throw new PartnerServiceException(ErrorCode.FAILED_TO_PROCESS_JWK.getErrorCode(),
Expand Down

0 comments on commit 06516aa

Please sign in to comment.