[keycloak-user] Updating user attributes within an Authenticator

marco.scheuermann at daimler.com marco.scheuermann at daimler.com
Fri Nov 23 04:59:59 EST 2018


Hi community,

is there a way to update custom user attributes within an Authenticator?
I currently cannot find any API which allows to update an existing user.

I only can find this for credentials:

UserCredentialModel userCredentialModel = new UserCredentialModel();

userCredentialModel.setType(UserCredentialModel.PASSWORD);

userCredentialModel.setValue(“password”);

session.userCredentialManager().updateCredential(realmModel, userModel, userCredentialModel);

How can I update custom user attributes?

Thank you,
Marco


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.



More information about the keycloak-user mailing list