How to get Client's IP in External authorization with custom action?

I have created a setup where I have my own custom external authorizer. Everything is working fine but the authorization service needs to know the client’s IP in order to provide some custom logic.

Whenever I’m making any request and which is getting forwarded to authz service it is getting the X-Forwarded-For as the IP of the proxy ( How can I get the actual IP of the client who is making the request to the external authorization service?