Change adapters to use auth and token endpoints
This commit is contained in:
1 parent
3d05f31202
commit
e2b02d414f
43 files changed
+192
-196
No files matched your search
+1
-1
@@ -76,7 +76,7 @@ public class AdminClient {
|
||||
|
||||
try {
|
||||
HttpPost post = new HttpPost(KeycloakUriBuilder.fromUri(getBaseUrl(request) + "/auth")
|
||||
.path(ServiceUrlConstants.TOKEN_SERVICE_DIRECT_GRANT_PATH).build("demo"));
|
||||
.path(ServiceUrlConstants.TOKEN_PATH).build("demo"));
|
||||
List <NameValuePair> formparams = new ArrayList <NameValuePair>();
|
||||
formparams.add(new BasicNameValuePair("username", "admin"));
|
||||
formparams.add(new BasicNameValuePair("password", "password"));
|
||||
|
||||
Reference in new issue
Block a user