Hi,
Once you create user through admin endpoint, you will need to call
another rest endpoint to update his password. It should be this
endpoint:
http://keycloak.github.io/docs/rest-api/admin/realms/%7Brealm%7D/users/%7...
Marek
On 21.5.2015 01:06, Scott Rossillo wrote:
Hi,
We’re using the admin client to create users in 1.2.0.Final. The call works, but the
credentials are missing.
List<CredentialRepresentation> credentialsList = new ArrayList<>();
CredentialRepresentation credentials = new CredentialRepresentation();
credentials.setType(CredentialRepresentation.PASSWORD);
credentials.setValue(appUser.getPassword());
credentialsList.add(credentials);
user.setCredentials(createCredentials(source));
I see the credentials getting passed on the create user HTTP POST, but the CREDENTIALS
table doesn’t contain an entry for the user.
Any suggestions?
Best,
Scott
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user