Noel
04/07/2026, 11:20 AMDevRev
04/07/2026, 11:20 AMsearchAll() method to programmatically export user data from your source project.
• This is the recommended approach for project-to-project migrations.
• You can also use the Descope Console's CSV export for large batches.
Step 2: Prepare the User Data
• Map and format the exported data into the structure expected by Descope's import APIs, including fields like loginIds, email, name, roleNames, userTenants, and any customAttributes.
Step 3: Import Users into the Destination Project
• Use the Batch Create Users API with a Management Key from the destination project to bulk-import users.
• Optionally set a custom attribute like freshlyMigrated: true to identify migrated users in your flows.
Step 4: Handle Passwords
• Passwords require special handling — Descope does not expose raw or hashed password data via the Backend APIs.
• If passwords can be exported (e.g., from a custom data store or Keycloak DB), import them via the hashedPassword field in the Create/Batch Create User API.
• If passwords cannot be exported, consider implementing a password reset flow for users upon their first login.Noel
04/07/2026, 11:33 AMNoel
04/07/2026, 11:34 AMAkash Jivane
04/07/2026, 11:39 AMNoel
04/07/2026, 11:40 AMChris Carper
04/07/2026, 2:13 PMNoel
04/07/2026, 2:33 PMNoel
04/07/2026, 2:37 PMChris Carper
04/07/2026, 2:38 PM