[keycloak-user] Admin Client Create User
Scott Rossillo
srossillo at smartling.com
Wed May 20 19:06:35 EDT 2015
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
More information about the keycloak-user
mailing list