specify user id when creating user in keycloak

Viewed 6505

I'm investigating a migration process from a legacy system into keycloak. Based on some of the ideas here: https://github.com/Smartling/keycloak-user-migration-provider we're looking to create user accounts in keycloak at the point of login by looking up user credentials from some dedicated endpoints on our legacy system.

As part of this, I need the user ID to remain the same as it was in the legacy system.

Is it possible to create a user with a specified ID rather than relying on keycloak to auto-generate it?

2 Answers
Related