added refresh_token into grant_types_supported

pull/1398/merge
Martin Kuba 2019-03-06 11:14:52 +01:00 committed by Justin Richer
parent ad64aef0c5
commit ae7debba2f
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ public class DiscoveryEndpoint {
JWSAlgorithm.ES256, JWSAlgorithm.ES384, JWSAlgorithm.ES512,
JWSAlgorithm.PS256, JWSAlgorithm.PS384, JWSAlgorithm.PS512,
Algorithm.NONE);
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");
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");
Map<String, Object> m = new HashMap<>();
m.put("issuer", config.getIssuer());