Import user from keycloak
Hi everyone! I found an article in the docs about importing a user from keyclock. https://zitadel.com/docs/guides/migrate/sources/keycloak#import-user-to-zitadel-via-zitadel-api
So I think this is deprecated. It doesn't support argon2 encryption.
Also the /management/v1/users/human/_import endpoint is deprecated.
Is there a way to migrate users from keycloak?
ZITADEL Docs
Migrating from Keycloak to ZITADEL
6 Replies
hey @Igor were you able to generate the json file?.
a file named
your_realm_name-realm.json
in the keycloak-export
directory, containing users and their passwords from keycloak.
You can read here
when you run the import command, we have a verifier that validatew hashes made with older algorithms ๐Hi @Rajat.
Yes i tried to create using zitadel-tool, but i got error
Command
zitadel-tools migrate keycloak --org=325771508733509635 --realm=./key/dev-users-0.json --output=./importBody.json --timeout=1h --multiline
maybe i did something wrong
Hey @Igor I'll look into this tomorrow
Thanks for sharing
hey @Igor good morning, can you pls share your
dev-users-0.json
?. ThanksHi! sure. I user keyclock latest version. 26.2.0
GitHub
How to import a user with an argon2id-hashed password ยท zitadel zi...
Hello there! I have a self-hosted Zitadel v 2.52, and I am trying to import a user with a password hashed using argon2id algorithm. I get the following error: Password hash encoding is not supporte...