[keycloak-user] Proxying Registration
bburke at redhat.com
Tue Jun 10 09:15:20 EDT 2014
We need to add a better REST api for user registration. I'll add that
to beta 3 or beta 4 as a JIRA.
We can't you use the Keycloak registration page? It is completely
configurable to have the same look and feel as your application.
On 6/10/2014 2:26 AM, Conrad Winchester wrote:
> Hi again,
> a requirement of the application I am working on is for one person to
> very easily be able to add another using their email address.
> We must not use the keycloak realm registration page and so I was
> wondering what the best way to proxy a realm user registration is?
> I am trying to use the rest api like this
> HttpPost post = new HttpPost(
> List<NameValuePair> formparams = new ArrayList<>();
> formparams.add(new BasicNameValuePair("username",
> formparams.add(new BasicNameValuePair("password",
> formparams.add(new BasicNameValuePair("email",user.getEmail()));
> UrlEncodedFormEntity form = new
> UrlEncodedFormEntity(formparams, "UTF-8");
> HttpResponse response = client.execute(post);
> But I am not sure what the returned entity is, nor how to get the ID of
> the newly registered user.
> Is there another way to do this?
> Any help would be greatly appreciated
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
JBoss, a division of Red Hat
More information about the keycloak-user