[keycloak-user] Keycloak Admin REST API not updating user.federatedIdentities attribute
Marek Posolda
mposolda at redhat.com
Tue Jul 31 16:05:04 EDT 2018
Hi Daniel,
it is possible, but you need to use different REST endpoints than the
REST endpoint for update user details. See the docs for our admin REST
API or take a look at our admin console (tab "Federated Identity" of
user) and see with some tool (something like Firebug from FF) what admin
REST endpoints is the admin console calling to CRUD federated identities.
Thanks,
Marek
On 31/07/18 17:41, Daniel Teixeira wrote:
> I would like to update (and ideally create) the federatedIdentities
> attribute of a user using the Admin Rest API, but it seems like this does
> not work / or it is not supported?
>
> I am able to update normal user attributes but not the federatedIdentities.
>
> Is this a bug or is it supposed to be like this?
>
> Is there a different way to do this? (Of course I could do an insert into,
> in the database, but I would prefer to use the api...). I need to run this
> for more than 200 users...
>
> My code:
> https://github.com/ddtxra/python-console-keycloak-example/blob/master/admin-rest-api-update-user.py
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list