[keycloak-user] Service Account enable by default for clients, how?

Sven Thoms sven.thoms at gmail.com
Wed Jan 11 02:16:21 EST 2017


Hello Sebastien

Are you talking about the Admin REST endpoint or the registration_endpoint
defined at
/auth/reales/[realmname]/.well-known/openid-configuration?

I am trying to submit a registration request via registration_endpoint and
submit a field enabling the service account.

According to the openid connect dynamic client registration documentation
at openid.net,  the request payload is non-normative, I am just not able to
enable service account that way.

Am 10.01.2017 10:32 vorm. schrieb "Sebastien Blanc" <sblanc at redhat.com>:

> I haven't tried it but when registering the client, in the payload, the
> ClientRepresentation, there is a serviceAccountsEnabled field , so maybe
> "service-accounts-enabled : true will do the trick ?
>
> On Tue, Jan 10, 2017 at 10:17 AM, Sven Thoms <sven.thoms at gmail.com> wrote:
>
>> Is it possible via a setting to automatically enable clients registered
>> dynamically via the well-known registration endpoint and registration
>> access token?  My current approach is to iterate over all clients post -
>> creation and set serviceaccountsEnabled to true. I need a more prompt and
>> real-time way
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>


More information about the keycloak-user mailing list