Skip to content

Commit bae2ea9

Browse files
Merge pull request #369 from kinde-oss/Fix/Import-users-CSV
Update to clarify external org id for csv imports
2 parents defc614 + c52e7a8 commit bae2ea9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/docs/manage-users/add-and-edit/import-users-in-bulk.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ When importing users from Auth0 NDJSON files, you have three options:
5959
1. **Import users only** - choose this method if you want to allow users to reset their password or sign in another way.
6060
2. **Import passwords only** - only choose this if you have already imported users.
6161

62-
## **Prepare CSV files (other sources)**
62+
## Prepare CSV files (other sources)
6363

6464
When exporting data from another auth system or your own system via CSV, the file needs to be set up with specific headings and formats for the data you are importing. These are detailed below.
6565

@@ -68,7 +68,7 @@ If you are migrating from Auth0, see the **Prepare JSON data (for Auth0 imports)
6868
### Required **data**
6969

7070
- `email` or `phone` - minimum required identity information
71-
- `external_organization_id` - Only required if you are importing roles and permissions
71+
- `external_organization_id` - assign users to organizations, optional unless you are importing roles and permissions
7272

7373
### **Other user data**
7474

@@ -87,11 +87,11 @@ The more data that you include for import, the easier we can set up your users i
8787
- `email_verified` - email verification status: `TRUE` or `FALSE`. TRUE only applies if you are also importing the user's password. If they have not set a password and you set this to `TRUE`, they will be prompted to set one using a one-time code the first time they sign in. This verifies their identity.
8888
- `role_key` - the role key for the role a user will be assigned on import. If the user is to be assigned more than one role, use a comma separated list.
8989
- `permission_key` - the permissions key for the permission a user will be assigned (that is not included in their role). If the user is to be assigned more than one permission, use a comma separated list.
90-
- `external_organization_id` - the third-party supplied ID of the organizations you want the user to be imported into. Only required if you are importing roles and permissions with user data. If the user belongs to more than one organization, use a comma separated list.
91-
90+
- `external_organization_id` - your supplied 'external_id' for the organization that you want the user to be imported into. Optional unless you are importing roles and permissions with user data. If the user belongs to more than one organization, use a comma separated list wrapped in double quotes. If left empty the user will be assigned to the default organization, if the 'Add users to this organization if no organization is specified' policy is enabled.
91+
9292
<Aside>
9393

94-
Note that this is NOT the same as the **Organization code** in Kinde, which is a Kinde-supplied ID.
94+
Note that this is NOT the same as the **Organization code** in Kinde, which is a Kinde-supplied ID. You can define your ID in the organization 'external_id' field.
9595

9696
</Aside>
9797

0 commit comments

Comments
 (0)