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 5 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.
- In the admin console, go to Manage > Users.
- Select Add user.
- 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 | Leave this field empty. The current solution doesn't use this field. |
Last name | The user's full name, for example,
|
- On the Credentials tab, set a password so that the user can sign in.
- Grant access to an organization and to a project.