Skip to main content

User Types

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Every user in Choreo Identity & Access Management has a user type that represents a category of users in your organization. A user type has a handle and a display name. The handle is the unique, permanent identifier that others use to refer to the type. The display name is the human-readable label. The user type determines:

  • Which attributes the user has in their profile and the data types of those attributes.
  • Which attributes must be unique across all users of that type.
  • Which attributes are credentials (stored securely and never returned in responses).
  • Whether users of this type can self-register through an application's registration flow.

User Types and Organization Units​

User types work alongside Organization Units (OUs) to model your real-world organization:

  • The user type defines what a user looks like; their attributes, constraints, and registration rules.
  • The organization unit defines where a user belongs; their place in your organizational hierarchy.

Each user type belongs to a single OU. Users of that type can only exist under that OU or one of its descendants. Learn more in Organization Units.

Choreo Identity & Access Management ships with one default user type. Learn more about its schema in User Type Reference.

Display NameHandleDescriptionOrganization UnitSelf-Registration
PersonpersonThe general-purpose user type used by the default sign-in and registration flows.DefaultAllowed

User Type Handle and Display Name​

FieldRules
HandleRequired. 1 to 100 characters of lowercase letters, numbers, hyphens (-), and underscores (_). Must start and end with a letter or a number. Unique among the user types in the deployment. Cannot be changed after the user type is created.
Display nameRequired. Does not need to be unique. Can be changed at any time.

Create a User Type​

  1. In the Choreo Identity & Access Management Console, switch to the organization view, go to User types, and click Create user type.
  2. Enter a User type name. This is the display name. The Console suggests a Handle from the name, and you can edit it. The handle must be unique and cannot be changed after you create the user type.
  3. Select the Organization unit this user type should belong to. A user of this type can only be created under this OU or one of its descendants in the hierarchy. See Organization Units for more information.
  4. Configure Allow self registration. When enabled, users of this type can sign up through the registration flow assigned to your application.
  5. Set the attributes that the user type should have, including data types and constraint modifiers. See User Type Reference for details on available settings and attribute options.
  6. Click Create user type.
note

Allow self registration applies to every application that allows the user type. When first-time users sign in with a social identity provider, an application must allow exactly one user type with this setting enabled. The default Person type already has it enabled. See Application Settings.

Deploy your changes

Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.

Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.

Update a User Type​

  1. Switch to the organization view, go to User types, and open the user type you want to edit.
  2. Add, remove, or update attribute definitions.
  3. Click Save.
note

You can change the display name of a user type at any time. The handle is immutable. An update request that sends a different handle fails with an error.

warning

Updating a user type schema replaces the entire attribute definition and does not retroactively validate existing users. New users created after the change must conform to the updated schema. Existing users keep their stored values until each user is next saved. See Manage Users for what happens to values that no longer fit the schema on the next save.

Removing an attribute from the schema does not immediately update existing applications. Any application that lists the removed attribute in its access token, ID token, or userinfo settings continues to return it while users still hold a stored value. The next time you update and save the application, Choreo Identity & Access Management removes the references to attributes that no longer exist in the schema. See Application Settings for the user attributes on the Token tab.

Delete a User Type​

  1. Open the user type from the User types list.
  2. Click Delete and confirm.
warning

Deletion fails if users of this type exist. Delete or reassign all users of this type before removing the schema.

Was this page helpful?