Hey there @sebastjan.stamatov, welcome to Auth0’s Community! As stated by @konrad.sopala, this is possible through Rules. It’s important to be aware that rules only are triggered upon a successful authentication request. I have quoted Konrad below who dives into what is needed to obtain the IP address. In the event you run into any issues implementing this or have found it incorrect, please let me know as I am happy to help. Thanks!
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Get client original API address in a custom login action script | 8 | 5596 | January 7, 2020 | |
| Getting the client's IP address inside custom database login | 4 | 4974 | February 13, 2019 | |
| Unable to access end-user IP in a Rule | 6 | 4344 | March 2, 2018 | |
| Auth0 IP range for Azure Sql Server | 3 | 4682 | March 2, 2018 | |
| Custom database connection - how to retrieve client_id? | 1 | 3586 | May 2, 2020 |