How do I create an admin user in a realm in Keycloak? I tried /bin/add-user.sh -r myrealm -u admin -p
It gave me the error:
* Error *
users
(sidebar) -> add user
(button on the right side)save
button.Credentials
tab and set password.Role Mapping
tab:
realm-management
under Client Roles
.Add selected
.You can also automate user creation via Admin REST API: https://www.keycloak.org/docs-api/10.0/rest-api/index.html#_users_resource