keycloak-user-migration
A Keycloak plugin for migrating users from legacy systems
File Explorer
Download Latest Version (.zip)- action.yml
- maven.yml
- release.yml
- sonar.yml
- maven-wrapper.properties
- MavenWrapperDownloader.java
- forgotPasswordPage.js
- keycloak.js
- loginPage.js
- passwordPoliciesPage.js
- realmSettingsEmailPage.js
- realmSettingsLoginPage.js
- resetPasswordEmail.js
- resetPasswordPage.js
- updateAccountInformationPage.js
- updatePasswordPage.js
- userDetailsPage.js
- userFederationPage.js
- userMigrationProviderPage.js
- usersPage.js
- data.js
- migrating_users.cy.js
- example.json
- index.js
- commands.js
- e2e.js
- .gitignore
- cypress.config.js
- package-lock.json
- package.json
- README.md
- Dockerfile
- maven-wrapper.jar
- maven-wrapper.properties
- MavenWrapperDownloader.java
- docs-open-api.png
- docs-swagger.png
- User.java
- UserMigrationDetails.java
- UserValidationDetails.java
- UserRepository.java
- BeanConfig.java
- InMemoryUserRepository.java
- UserMigrationService.java
- AuthenticationControllerPaths.java
- UserController.java
- UserMigrationController.java
- LegacySystemExampleApplication.java
- application.properties
- TestMigrationDetailsProvider.java
- TestUserDataProvider.java
- InMemoryUserRepositoryTest.java
- UserMigrationServiceTest.java
- UserControllerTest.java
- UserMigrationControllerTest.java
- LegacySystemExampleApplicationTests.java
- .gitignore
- Dockerfile
- mvnw
- mvnw.cmd
- pom.xml
- README.md
- import_data.sh
- java_profile.xml
- .env
- docker-compose-sonar.yml
- docker-compose.yml
- wait-until
- config_bearer_token.png
- config_conversion.png
- config_http_basic_auth.png
- field-rest-client-uri-for-example-app.png
- field_rest_client_uri.png
- login-form.png
- logo.png
- realm-user-list.png
- save_btn.png
- sidebar.png
- sign-out-from-admin.png
- user-federation.png
- user-migrated-with-required-action.png
- welcome-to-keycloak-account.png
- RestUserProviderException.java
- GroupMigrationService.java
- LegacyMappingParser.java
- Reconcile.java
- RoleMigrationService.java
- UserModelFactory.java
- WildcardPatternFactory.java
- LegacyOrganization.java
- LegacyOrganizationDomain.java
- LegacyTotp.java
- LegacyUser.java
- LegacyUserService.java
- HttpClient.java
- HttpRequestException.java
- HttpResponse.java
- RestUserService.java
- UserPasswordDto.java
- ConfigurationProperties.java
- CredentialValidationService.java
- LegacyProvider.java
- LegacyProviderFactory.java
- LocalUserLookup.java
- MigrationConfiguration.java
- UserMigrationService.java
- UserSyncMode.java
- org.keycloak.storage.UserStorageProviderFactory
- RestUserProviderExceptionTest.java
- ReconcileTest.java
- UserModelFactoryTest.java
- LegacyUserTest.java
- TestCredentialManager.java
- TestLegacyUser.java
- TestUserModel.java
- HttpClientTest.java
- HttpRequestExceptionTest.java
- HttpResponseTest.java
- RestUserServiceTest.java
- UserPasswordDtoTest.java
- ConfigurationPropertiesTest.java
- LegacyProviderFactoryTest.java
- LegacyProviderTest.java
- UserSyncModeTest.java
- .gitignore
- CONTRIBUTING.md
- LICENSE
- mvnw
- mvnw.cmd
- pom.xml
- README.md
- renovate.json
# Installation Guide
1. Get the code
git clone https://github.com/daniel-frak/keycloak-user-migration
Downloads the entire project code from GitHub to your computer.
cd keycloak-user-migration
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Maven (Java)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
cd docker/legacy-system-example
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
A BUILD SUCCESS message means it worked. The output is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
