Auth0 Home Blog Docs

Difference in ip and client_ip in logs

I can see customer login success with two ip address
ip -> printing auth0-forwarded-for ip address… of customer
client_ip -> printing my IP aws ip address.

whats the diffference in ip and client_ip?

I did this

  1. enabled the forward-ip headers in tenant
  2. passing auth0-forwarded-for header in api reqeust to login

Hey there!

Don’t know it yet but I’m more than happy to find it out for you!

1 Like

Did some Internet research and found out that:

  • ip - is your local IP address
  • client_ip - the ip the rest of the world sees

and those two are of course different as you’ve probably seen.

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