We are encountering an issue with our self-hosted ...
# ory-selfhosting
s
We are encountering an issue with our self-hosted Ory Kratos setup. Specifically, when accessing the
/admin/identities
endpoint at
<https://accounts.upsure.io/admin/identities>
, we receive the error: "Exceeded maxRedirects. Probably stuck in a redirect loop." We would appreciate your support in resolving this matter.
b
This sounds like what would happen if you're hitting the api port; however, on its own, Kratos will not infinitely redirect you to the wrong location. This must be something external like a load-balancer or reverse proxy that is perhaps checking authentication? and upon finding none, refusing to send the user to the admin port (which is what the api port handler for /admin will do iirc) will send the user to the api port. This could lead to what you're experiencing.