[keycloak-user] Import and exported client

Jagannadha Rekala jarekala at axway.com
Wed Aug 17 11:52:26 EDT 2016


Thomas,

This is due to the internal id representation in the exported json file. Though you changed the client id (physical name) it still had the same internal id in the json export file. You might want to change that uuid and try again.

Example:

"id" : "phxcm002-4d72-4c56-8e2b-5536fc095887"

You need to prefix or modify to make unique than the previous id. Hope this helps!

Thanks,
Jagan Rekala

From: keycloak-user-bounces at lists.jboss.org [mailto:keycloak-user-bounces at lists.jboss.org] On Behalf Of Thomas Barcia
Sent: Wednesday, August 17, 2016 8:44 AM
To: keycloak-user at lists.jboss.org
Subject: [keycloak-user] Import and exported client

In Keycloak 1.9.8-Final I have to create identical clients in different realms for DEV/QA/TEST environments and was hoping that I could export the clients and import them into other realms.  When I try this, I receive the error that the client already exists.  I have verified that the client does NOT exist in the realm and that I can create a client manually with the same name and information but for whatever reason the import fials.

Can I simply remove the ID from the json for the import or is there some other method to import an existing client to a different realm?

Thank you.

*** This communication has been sent from World Fuel Services
Corporation or its subsidiaries or its affiliates for the intended recipient
only and may contain proprietary, confidential or privileged information.
If you are not the intended recipient, any review, disclosure, copying,
use, or distribution of the information included in this communication
and any attachments is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to this
communication and delete the communication, including any
attachments, from your computer. Electronic communications sent to or
from World Fuel Services Corporation or its subsidiaries or its affiliates
may be monitored for quality assurance and compliance purposes.***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160817/dccf4000/attachment.html 


More information about the keycloak-user mailing list