[keycloak-user] user count

Stian Thorgersen sthorger at redhat.com
Fri Oct 6 03:51:41 EDT 2017


I would argue this is a bug. Could you create a JIRA please?

On Fri, Oct 6, 2017 at 7:45 AM, Stephen Henrie 
<stephen at saasindustries.com> wrote:
> I think I just answered my own question.... It looks like the count 
> api
> returns the total of the users and the service accounts which exist 
> in the
> realm. This seems a little weird to me since it is not that easy
> identifying the difference between the two types of users in the json 
> data.
> 
> Not sure if it is intended to work this way or not.
> 
> Regards,
> Stephen
> 
> On Thu, Oct 5, 2017 at 7:46 PM, Bruno Oliveira <bruno at abstractj.org> 
> wrote:
> 
>>  I just tried with 3.3.0.CR2, but could not find any issue. Would 
>> you mind
>>  to give it a try?
>> 
>>  On Thu, Oct 5, 2017 at 10:32 PM Stephen Henrie 
>> <stephen at saasindustries.com>
>>  wrote:
>> 
>>>  Hey all,
>>> 
>>>  I have Keycloak 3.2.1.Final configured with a realm that has 13 
>>> users in
>>>  it. When I call the API rest endpoint for GET 
>>> /admin/realms/{realm}/users,
>>>  I get 13 user "records" back as expected. However, when I call the 
>>> API
>>>  rest
>>>  endpoint GET /admin/realms/{realm}/users/count for the same realm, 
>>> I get
>>>  the number 21 returned.
>>> 
>>>  I would have expected this to return the number 13  Has anyone else
>>>  experienced this? Is there something that I am missing?
>>> 
>>>  Thanks
>>>  Stephen
>>>  _______________________________________________
>>>  keycloak-user mailing list
>>>  keycloak-user at lists.jboss.org
>>>  https://lists.jboss.org/mailman/listinfo/keycloak-user
>>> 
>> 
> _______________________________________________
> 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