# Is it possible to see the client IP when using custom domains?

**URL:** <https://community.auth0.com/t/is-it-possible-to-see-the-client-ip-when-using-custom-domains/181613>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [February 6, 2025, 11:02pm UTC](https://community.auth0.com/t/is-it-possible-to-see-the-client-ip-when-using-custom-domains/181613 "2025-02-06T23:02:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dag](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dag/32/50277_2.png) [@dag](https://community.auth0.com/u/dag)\
**Post date:** [February 6, 2025, 11:02pm UTC](https://community.auth0.com/t/is-it-possible-to-see-the-client-ip-when-using-custom-domains/181613/1 "2025-02-06T23:02:39Z")

</div>

When using custom domains, the CDN serves as a reverse proxy, meaning that the client IP is obscured and instead Auth0 sees the requests as coming from the CDN egress IP.

Is it possible to forward the original client IP so it can be logged and used for IP whitelisting decisions?

---

<div class="post-metadata">

**Author:** ![dag](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dag/32/50277_2.png) [@dag](https://community.auth0.com/u/dag)\
**Post date:** [February 12, 2025, 7:06pm UTC](https://community.auth0.com/t/is-it-possible-to-see-the-client-ip-when-using-custom-domains/181613/3 "2025-02-12T19:06:59Z")

</div>

[https://auth0.com/docs/api/management/v2/custom-domains/patch-custom-domains-by-id](https://auth0.com/docs/api/management/v2/custom-domains/patch-custom-domains-by-id)

Use this param here:  
`custom_client_ip_header`

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 13, 2025, 1:12pm UTC](https://community.auth0.com/t/is-it-possible-to-see-the-client-ip-when-using-custom-domains/181613/4 "2025-02-13T13:12:31Z")

</div>

Hi @dag,

Thank you for sharing the solution with the rest of the community! Team work 🤝

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 27, 2025, 1:13pm UTC](https://community.auth0.com/t/is-it-possible-to-see-the-client-ip-when-using-custom-domains/181613/5 "2025-02-27T13:13:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
