This has always been the case and not something we've just recently changed

On 21 September 2015 at 11:36, Doug Szeto <DSzeto@investlab.com> wrote:
Solved by making a second call to:
PUT  /auth/admin/realms/{realm}/users/{userId}/reset-password

Should make a note in the release notes for 1.5.0.
—Doug

From: doug <dszeto@investlab.com>
Date: Fri, 18 Sep 2015 11:00:08 +0000
To: "keycloak-user@lists.jboss.org" <keycloak-user@lists.jboss.org>
Subject: [keycloak-user] Creating Users from admin url and user passwords

Hi,
I’ve update from version 1.4.0.Final to 1.5.0.Final.
Was able to use to create users with a script from the admin url api in 1.4.0.
But after the update to 1.5.0.Final, it doesn’t seem to accept the credentials anymore.

Here is my request that used to work:
POST /auth/admin/realms/{realm}/users
body={"username”:"burke","enabled":true,"credentials":[{"type":”password”,”value”:"password”]}

I’m dumping the realm information and the user is created, but the credentials field is a blank json array.
Uploading a realm with one of the test configs, it seems like it automatically changes the password value to some hashed value.

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?
—Doug
_______________________________________________ keycloak-user mailing list keycloak-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/keycloak-user

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user