Create a user in Keycloak

Manually create users if you work in local-only mode or without SSO-only configuration
Read time 1 minuteLast updated 11 days ago

After you have set up single sign-on (SSO) for the realm, the enterprise identity provider (IdP) automatically creates the account for the user on their first sign-in. On subsequent sign-ins, the IdP updates the user properties. Nevertheless, you might need to create user accounts in Keycloak in these cases:
  • You use Keycloak in local-only mode, that is, with only local users.
  • You haven't applied SSO-only configuration. Read more about configuring the user experience.
To create users in Keycloak, complete these steps:
  1. In the admin console, switch to the unity realm.
  2. Go to Manage > Users.
  3. Select Add user.
  4. Provide these settings:

Field

Description

User name
A unique name for the user. The recommended practice is the email address.
E-mail
The user's email address.
First name
The user's first name.
Last name
The user's last name.
Full name
The user's full name, for example,
Firstname Lastname
. This field is optional. If you fill this field, you can leave the first and last names empty. Unity ID stores only the full name without distinction between the first name and the last name.
After you have created the user, change the configuration as follows:
  1. On the Credentials tab, set a password so that the user can sign in.
  2. Grant access to an organization and to a project.