[keycloak-dev] Client Registration CLI is awesome!!

Stian Thorgersen sthorger at redhat.com
Wed Oct 19 01:14:16 EDT 2016


It actually supports Keycloak client rep (same as used by admin console),
OIDC client representations (
https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata)
as well as SAML entity descriptors.

For Keycloak client rep you can use "kcreg.sh attrs" to see the supported
options.

You can even do:

kcreg.sh create -s clientId=test -s redirectUris='["http://localhost","
http://localhost:8080"]'

On 19 October 2016 at 07:11, Thomas Darimont <thomas.darimont at googlemail.com
> wrote:

> Cool stuff!
>
> Is there a template for client.json?
>
> Cheers,
> Thomas
>
> Am 19.10.2016 7:09 vorm. schrieb "Stian Thorgersen" <sthorger at redhat.com>:
>
>> Marko,
>>
>> I've just been playing with the client registration cli and it's just
>> plain
>> awesome.
>>
>> This:
>> # kcreg.sh create myclient.json
>>
>> Is so much better than:
>> # Open admin console
>> # Login
>> # Click clients
>> # Click create
>> # Click import file
>> # Click save
>>
>> Nice work :)
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
>


More information about the keycloak-dev mailing list