Skip to content
Snippets Groups Projects
Commit 227d665f authored by Alan Braz's avatar Alan Braz
Browse files

add scope

parent df6182d1
No related branches found
No related tags found
1 merge request!6Trusted ibm
......@@ -43,6 +43,9 @@ public class KeyCloakProvider {
@Value("${ibm.keycloak.grant_type:password}")
private String grantType;
@Value("${ibm.keycloak.scope:openid}")
private String scope;
@Value("${ibm.keycloak.client_id}")
private String clientId;
......@@ -63,6 +66,7 @@ public class KeyCloakProvider {
parameters.put("client_secret", clientSecret);
parameters.put("username", user);
parameters.put("password", password);
parameters.put("scope", scope);
con.setDoOutput(true);
DataOutputStream out = new DataOutputStream(con.getOutputStream());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment