I have a WEB API that has a backend in C# (using DDD) and a frontend that uses it in Angular hosted in different servers. I want to get my client's IP when they log in (for audit purposes), when I try to run my code through postman it works but when making the request through the frontend, it always return the frontend server IP.
I have tried using IpPublicKnowledge which is a Nuget package that gets the IP using a webpage.
I have tried different ways that get the IP from the HttpContext but they also return Frontend server IP, not the client's IO.