You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the /admin/identities endpoint to list identities, the "X-Total-Count" header cannot be found in the response (in contrast to i.e. the /admin/sessions endpoint). This confuses me a bit, as the Link header is present. So I don't really see a reason, why the listIdentities endpoint should omit that header.
Is there a reason why the identites endpoint does not include an X-Total-Count header (since its also not mentioned on the pagination site in the docs)?
(PS: I'm not really experienced in Go, but it seems like the header could be added without much hassle when comparing the implementation of the listIdentities handler to the aforementioned sessions endpoint handler. I could maybe take a look at that but again, haven't done much with Go yet)
Reproducing the bug
Run docker run oryd/kratos:v1.3.0
Create some identities.
Fetch from identities endpoint and print headers, i.e. via:
curl -X GET -I http://localhost:4434/admin/identities
A similar result like the following should be printed:
Preflight checklist
Ory Network Project
No response
Describe the bug
When calling the /admin/identities endpoint to list identities, the "X-Total-Count" header cannot be found in the response (in contrast to i.e. the /admin/sessions endpoint). This confuses me a bit, as the Link header is present. So I don't really see a reason, why the listIdentities endpoint should omit that header.
Is there a reason why the identites endpoint does not include an X-Total-Count header (since its also not mentioned on the pagination site in the docs)?
(PS: I'm not really experienced in Go, but it seems like the header could be added without much hassle when comparing the implementation of the listIdentities handler to the aforementioned sessions endpoint handler. I could maybe take a look at that but again, haven't done much with Go yet)
Reproducing the bug
docker run oryd/kratos:v1.3.0
In contrast, the sessions endpoint returns the following:
Relevant log output
No response
Relevant configuration
No response
Version
1.3.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose
Additional Context
No response
The text was updated successfully, but these errors were encountered: