Thanks James,
I will happy for the one additional clarification.
I use 2.2.1 and the following tutorial:
https://keycloak.gitbooks.io/server-developer-guide/content/v/2.2/topics/...
Where can I find the description of the required permissions?
The link in the document points to the content page:
https://keycloak.gitbooks.io/server-adminstration-guide/content/
Best regards,
Michael
________________________________
From: James Falkner <jfalkner(a)redhat.com>
Sent: Thursday, October 6, 2016 4:25 PM
To: Michael Furman
Cc: keycloak-user(a)lists.jboss.org
Subject: Re: [keycloak-user] Newbie API question
Michael Furman<mailto:michael_furman@hotmail.com>
October 6, 2016 at 2:40 AM
Hi all,
I have started to learn Keycloak and I need your help.
1. Is it possible to resister a new client using REST API?
http://www.keycloak.org/docs/rest-api/
I want to use the static client registration.
Yes, it's
possible<http://www.keycloak.org/docs/rest-api/#_create_a_new_client>
- for example, this is how the JBoss EAP/Wildfly adapter does automatic client
registration - it does a POST to /admin/realms/<realm-name>/clients with a json blob
that looks something like
{
"clientId": "some-client-id",
"rootUrl": "",
"adminUrl":
"https://some-host:8443/"<https://some-host:8443/>,
"baseUrl": "",
"secret": "",
"redirectUris": [],
"bearerOnly": true,
"publicClient": false,
"protocol": "openid-connect"
}
-James