Hi @petriv.roma,
Welcome to the Auth0 Community Forum!
I found this from a previous support case:
First off, assuming you are using the Universal Login Page, you could customize that page with some code to get the user’s IP/GeoIP information. For example: jquery - How to get client's IP address using JavaScript? - Stack Overflow.
Next, once you have the IP details of the client, you could add this to the user’s metadata during the signup process. If you are using the Lock widget for login/signup, you would do that via a hidden additional field (only applicable for database connections). For example…
additionalSignUpFields: [{
type: "hidden",
name: "ip",
value: *<client-ip-obtained-from-above>*
}]
Would that work for you?