{"id":18321082,"url":"https://github.com/workos/migrate-auth0-users","last_synced_at":"2025-04-05T22:32:15.404Z","repository":{"id":201088365,"uuid":"706202271","full_name":"workos/migrate-auth0-users","owner":"workos","description":"Demonstration of importing Auth0 users into WorkOS, including setting password hashes","archived":false,"fork":false,"pushed_at":"2024-08-05T16:12:57.000Z","size":96,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T20:50:17.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-17T13:51:29.000Z","updated_at":"2024-09-12T06:15:13.000Z","dependencies_parsed_at":"2024-08-05T18:43:49.674Z","dependency_job_id":null,"html_url":"https://github.com/workos/migrate-auth0-users","commit_stats":null,"previous_names":["workos/migrate-auth0-users"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fmigrate-auth0-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fmigrate-auth0-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fmigrate-auth0-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fmigrate-auth0-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workos","download_url":"https://codeload.github.com/workos/migrate-auth0-users/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411234,"owners_count":20934650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T18:18:17.382Z","updated_at":"2025-04-05T22:32:15.134Z","avatar_url":"https://github.com/workos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# migrate-auth0-users\n\nDemonstration of importing Auth0 users into WorkOS, including setting password hashes.\n\n#### Usage\n\n```bash\nWORKOS_SECRET_KEY=sk_abc123 npx github:workos/migrate-auth0-users --help\n```\n\nExample output\n\n```\n% WORKOS_SECRET_KEY=sk_abc123 npx github:workos/migrate-auth0-users \\\n  --user-export dev-123abc.json \\\n  --password-export password-export.json\nNeed to install the following packages:\n  github:workos/migrate-auth0-users\nOk to proceed? (y) y\nImporting users from example-input.json\n(1) jason+test8@foo-corp.com (WorkOS user_01HCYXV9R05ZE1J46YPME5Z4BY) already has a password set\n(2) jason+test9@foo-corp.com (WorkOS user_01HCYXV9R15Q6PPYMA6F09M75A) already has a password set\n(3) Imported user jason+test13@foo-corp.com as WorkOS User user_01HCYZ09NQHZ4X1ZRVZ3V09WWW\n(4) Imported user jason+test10@foo-corp.com as WorkOS User user_01HCYZ09NSE9ABBQXTF1F43WKX\n(5) Imported user jason+test12@foo-corp.com as WorkOS User user_01HCYZ09PXM1F4WHQS70X1TS6H\n(6) Imported user jason+test11@foo-corp.com as WorkOS User user_01HCYZ09PRH8THC7ZEDYBEJ008\nDone importing. 4 of 6 user records imported.\n```\n\n#### Input file format\n\nTwo export files from Auth0 must be given.\n\nThe first is passed via the `--user-export` flag and is obtained using the\nofficial [Auth0 Import/Export extension](https://auth0.com/docs/customize/extensions/user-import-export-extension). This\ntool expects that the export is created using the default fields\nwhich are added via the \"Add default fields\" button in the extension UI.\n\nThe second export file is passed via the `--password-export` flag and is\n[obtained from Auth0 support by filing a ticket](https://auth0.com/docs/troubleshoot/customer-support/manage-subscriptions/export-data#user-passwords)\nand requesting password hashes to be exported. Note that the script will exit\nwith an error if any custom password hashes are present.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Fmigrate-auth0-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkos%2Fmigrate-auth0-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Fmigrate-auth0-users/lists"}