<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Solved by making a second call to:</div>
<div>PUT /auth/admin/realms/{realm}/users/{userId}/reset-password</div>
<div><br>
</div>
<div>Should make a note in the release notes for 1.5.0.</div>
<div>—Doug</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>doug <<a href="mailto:dszeto@investlab.com">dszeto@investlab.com</a>><br>
<span style="font-weight:bold">Date: </span>Fri, 18 Sep 2015 11:00:08 +0000<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>" <<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
<span style="font-weight:bold">Subject: </span>[keycloak-user] Creating Users from admin url and user passwords<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div>I’ve update from version 1.4.0.Final to 1.5.0.Final.</div>
<div>Was able to use to create users with a script from the admin url api in 1.4.0.</div>
<div>But after the update to 1.5.0.Final, it doesn’t seem to accept the credentials anymore.</div>
<div><br>
</div>
<div>Here is my request that used to work:</div>
<div>POST /auth/admin/realms/{realm}/users</div>
<div>body={"username”:"burke","enabled":true,"credentials":[{"type":”password”,”value”:"password”]}</div>
<div><br>
</div>
<div>I’m dumping the realm information and the user is created, but the credentials field is a blank json array.</div>
<div>Uploading a realm with one of the test configs, it seems like it automatically changes the password value to some hashed value.</div>
<div><br>
</div>
<div>What actually changed in 1.5.0 with creating users using the admin api with a temporary password so that it can be scripted again?</div>
<div>—Doug</div>
<span id="OLK_SRC_BODY_SECTION"></span></div>
</div>
_______________________________________________ keycloak-user mailing list <a href="mailto:keycloak-user@lists.jboss.org">
keycloak-user@lists.jboss.org</a> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user">
https://lists.jboss.org/mailman/listinfo/keycloak-user</a></span>
</body>
</html>