From 42027e451c86af00b1f0beafb858ac35d5fb1d0d Mon Sep 17 00:00:00 2001 From: William Kim Date: Thu, 27 Jun 2013 13:47:16 -0400 Subject: [PATCH] added REQUIRED response types to discovery doc. Also, fixed 2 typos in the list of supported grant types. --- .../main/java/org/mitre/discovery/web/DiscoveryEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java b/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java index 85f351262..cfb8978d7 100644 --- a/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java +++ b/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java @@ -221,8 +221,8 @@ public class DiscoveryEndpoint { m.put("jwks_uri", baseUrl + "jwk"); m.put("registration_endpoint", baseUrl + "register"); m.put("scopes_supported", scopeService.toStrings(scopeService.getDynReg())); // these are the scopes that you can dynamically register for, which is what matters for discovery - m.put("response_types_supported", Lists.newArrayList("code", "token")); - m.put("grant_types_supported", Lists.newArrayList("authorization_cide", "implicit", "urn:ietf:params:oauth:grant-type:jwt-bearerurn:ietf:params:oauth:grant-type:jwt-bearer", "client_credentials", "urn:ietf:params:oauth:grant_type:redelegate")); // we also support client_credentials and chaining, but OIDC doesn't specify those so we'll leave them off + m.put("response_types_supported", Lists.newArrayList("code", "token", "id_token", "id_token token")); + m.put("grant_types_supported", Lists.newArrayList("authorization_code", "implicit", "urn:ietf:params:oauth:grant-type:jwt-bearer", "client_credentials", "urn:ietf:params:oauth:grant_type:redelegate")); // we also support client_credentials and chaining, but OIDC doesn't specify those so we'll leave them off //acr_values_supported m.put("subject_types_supported", Lists.newArrayList("public")); //userinfo_signing_alg_values_supported