Commit 3046025a authored by Mahesh Maney R's avatar Mahesh Maney R
Browse files

resolving json format issues with payload <ManeyMR>.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -56,7 +56,7 @@ public class KeycloakUserCredentialPersister {
httpPost.setHeader(HttpHeaders.AUTHORIZATION, "Bearer " + authToken);
String requestBody = "{" +
"\"username\": " + "\"" + userName + "\"" + "," +
"\"password\": " + "\"" + password + "\"" + "," +
"\"password\": " + "\"" + password + "\"" +
"}";
logger.info("payload to save user info with body {} and header {}",requestBody,httpPost.getAllHeaders());
StringEntity entity = new StringEntity(requestBody);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment