<@U04UQ68083H> when i request for "admin/identitie...
# ory-copilot
f
@chilly-king-10285 when i request for "admin/identities" in kratos i get an "Error: Exceeded maxRedirects" error
c
A message from kapa.ai
The error message "Exceeded maxRedirects" typically indicates that your request is stuck in a redirect loop. This could be due to a misconfiguration in your server or application. In the context of Ory Kratos, when you make a
GET /admin/identities
request, you are trying to list all identities in the system. This operation requires authentication, specifically an
oryAccessToken
as per the [Kratos API Reference](https://www.ory.sh/docs/kratos/reference/api). If you're using Nginx, ensure that your configuration is correct. The [Ory documentation](https://www.ory.sh/docs/kratos/guides/deploy-kratos-example#install-and-configure-nginx) provides an example of how to set up Nginx with Kratos. If you've checked your authentication and server configuration and you're still encountering this issue, it might be a good idea to reach out to the Ory community or support for further assistance.
f
@chilly-king-10285 this is a self hosted version with nginx config taken from the docs
c
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. The issue you're facing could be due to a variety of reasons. It could be a misconfiguration in your Nginx setup or an issue with how your application is handling redirects. The Ory documentation provides detailed guides on how to set up and configure Nginx for both [Ory Hydra](https://www.ory.sh/docs/hydra/self-hosted/deploy-hydra-example#install-and-configure-nginx) and [Ory Kratos](https://www.ory.sh/docs/kratos/guides/deploy-kratos-example#install-and-configure-nginx). Please cross-check your configuration with these guides to ensure everything is set up correctly. If you're still facing issues, I recommend reaching out to the Ory community or support for more specific assistance. They offer various [support plans](https://www.ory.sh/support/) tailored for self-hosting organizations.