Skip to content

Commit ae7debb

Browse files
martin-kubajricher
authored andcommitted
added refresh_token into grant_types_supported
1 parent ad64aef commit ae7debb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values
304304
JWSAlgorithm.ES256, JWSAlgorithm.ES384, JWSAlgorithm.ES512,
305305
JWSAlgorithm.PS256, JWSAlgorithm.PS384, JWSAlgorithm.PS512,
306306
Algorithm.NONE);
307-
ArrayList<String> grantTypes = Lists.newArrayList("authorization_code", "implicit", "urn:ietf:params:oauth:grant-type:jwt-bearer", "client_credentials", "urn:ietf:params:oauth:grant_type:redelegate", "urn:ietf:params:oauth:grant-type:device_code");
307+
ArrayList<String> grantTypes = Lists.newArrayList("authorization_code", "implicit", "urn:ietf:params:oauth:grant-type:jwt-bearer", "client_credentials", "urn:ietf:params:oauth:grant_type:redelegate", "urn:ietf:params:oauth:grant-type:device_code","refresh_token");
308308

309309
Map<String, Object> m = new HashMap<>();
310310
m.put("issuer", config.getIssuer());

0 commit comments

Comments
 (0)