[keycloak-user] Custom user registration

Ufimtsev Vasiliy v.ufimtsev at ftc.ru
Mon Mar 27 07:01:28 EDT 2017


When new user come to register page, this user haven’t account at all.
And I want provide to this new user ability to register new account. Default registration form doesn’t fit into our requirements,
because we need some special data from user (city, for example).

From: Thomas Darimont [mailto:thomas.darimont at googlemail.com]

Hello,

you don't need full admin permissions to create a new user, e.g.
to create a user with password and assign some roles on realm and client level you'd need
at least "manage-users, view-clients, view-realm, view-users" roles for "realm-management"
of your particular realm.

Here is an example for using the Keycloak Admin API:
https://gist.github.com/thomasdarimont/c4e739c5a319cf78a4cff3b87173a84b

Cheers,
Thomas

2017-03-27 11:33 GMT+02:00 Ufimtsev Vasiliy <v.ufimtsev at ftc.ru<mailto:v.ufimtsev at ftc.ru>>:
Hello,
I want to create custom registration page with additional fields which should be stored in user attributes.
Is it possible?
Also I found API<http://www.keycloak.org/docs-api/2.5/rest-api/index.html#_create_a_new_user> which allows custom user registration, but it requires admin rights, so we can't use this way for registering new users.
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list