Browse Source

fix JWKS parsing in software statements, closes #1220

pull/972/merge
Justin Richer 8 years ago
parent
commit
11f3cccab9
  1. 2
      openid-connect-server/src/main/java/org/mitre/openid/connect/web/ClientAPI.java
  2. 2
      openid-connect-server/src/main/java/org/mitre/openid/connect/web/DynamicClientRegistrationEndpoint.java

2
openid-connect-server/src/main/java/org/mitre/openid/connect/web/ClientAPI.java

@ -608,7 +608,7 @@ public class ClientAPI {
newClient.setJwksUri(claimSet.getStringClaim(claim));
break;
case JWKS:
newClient.setJwks(JWKSet.parse(claimSet.getStringClaim(claim)));
newClient.setJwks(JWKSet.parse(claimSet.getJSONObjectClaim(claim).toJSONString()));
break;
case POLICY_URI:
newClient.setPolicyUri(claimSet.getStringClaim(claim));

2
openid-connect-server/src/main/java/org/mitre/openid/connect/web/DynamicClientRegistrationEndpoint.java

@ -688,7 +688,7 @@ public class DynamicClientRegistrationEndpoint {
newClient.setJwksUri(claimSet.getStringClaim(claim));
break;
case JWKS:
newClient.setJwks(JWKSet.parse(claimSet.getStringClaim(claim)));
newClient.setJwks(JWKSet.parse(claimSet.getJSONObjectClaim(claim).toJSONString()));
break;
case POLICY_URI:
newClient.setPolicyUri(claimSet.getStringClaim(claim));

Loading…
Cancel
Save