[keycloak-user] Creating Users from admin url and user passwords

Doug Szeto DSzeto at investlab.com
Fri Sep 18 07:00:08 EDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150918/7e2cf46d/attachment.html 


More information about the keycloak-user mailing list