Hello. How can I correctly iterate over identities...
# ory-selfhosting
p
Hello. How can I correctly iterate over identities in Kratos using the published Ory API? It specifies a
page_token
but I see no way to get the token from the API without making direct GETs on the REST API endpoints directly. API reference: https://www.ory.sh/docs/kratos/reference/api#tag/identity/operation/listIdentities. This was not a problem until we went over 1000 identities - at which point Kratos errors out and forces me to use the
page_token
field. I'm currently using
page
and
per_page
arguments.