# Auth0 users sign up IP

**URL:** <https://community.auth0.com/t/auth0-users-sign-up-ip/82912>\
**Category:** Get Help\
**Created:** [May 4, 2022, 8:34pm UTC](https://community.auth0.com/t/auth0-users-sign-up-ip/82912 "2022-05-04T20:34:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![narges.fallahi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/narges.fallahi/32/32190_2.png) [@narges.fallahi](https://community.auth0.com/u/narges.fallahi)\
**Post date:** [May 4, 2022, 8:34pm UTC](https://community.auth0.com/t/auth0-users-sign-up-ip/82912/1 "2022-05-04T20:34:30Z")

</div>

We have an urgent request from auth0. Can you get back to us with answers to the following questions asap please?

- How is the [geoip calculated from IP on the auth0 side request context](https://auth0.com/docs/customize/rules/context-object), and whether it’s reliable enough for us to utilize and take actions based on that?
- Is there a way for us to determine the sign up IP for all our user base on auth0? we can see there is a last\_ip, but we’re specifically interested in the sign up ip

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 5, 2022, 12:15am UTC](https://community.auth0.com/t/auth0-users-sign-up-ip/82912/4 "2022-05-05T00:15:16Z")

</div>

Hi there @narges.fallahi! I’ll give this a go.

> [@narges.fallahi](#):
>
> How is the [geoip calculated from IP on the auth0 side request context](https://auth0.com/docs/customize/rules/context-object), and whether it’s reliable enough for us to utilize and take actions based on that?

This is handled by a 3rd party service and is certainly reliable enough to take actions based on.

> [@narges.fallahi](#):
>
> Is there a way for us to determine the sign up IP for all our user base on auth0? we can see there is a last\_ip, but we’re specifically interested in the sign up ip

Are you looking to retroactively determine the IP that was used to sign up for all of your users? I’d have to do a little research if that is the case. Moving forward, we do provide a [Post User Registration Action](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow) that could be used to pull the IP and/or geoip from every user that registers. Additional helpful resources:

> **[Country-Based Access with Auth0 Actions](https://auth0.com/blog/country-based-access-with-auth0-actions/)**
>
> How to deal with logins that must meet specific criteria based on the user’s country.

> **[Actions Triggers: post-user-registration - Event Object](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow/event-object)**
>
> Learn about the post-user-registration Action trigger's event object, which provides contextual information about the newly-created user.

Let us know!

---

<div class="post-metadata">

**Author:** ![narges.fallahi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/narges.fallahi/32/32190_2.png) [@narges.fallahi](https://community.auth0.com/u/narges.fallahi)\
**Post date:** [May 10, 2022, 3:44pm UTC](https://community.auth0.com/t/auth0-users-sign-up-ip/82912/5 "2022-05-10T15:44:00Z")

</div>

@ty.frith yes i’m looking for a backfill. currently i’m utilizing auth0\_logs that we stored to backfill for users, but i was wondering if there’s another way i can retrieve this for our user base if we didnt capture the users’ sign up event and its lost now

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 11, 2022, 12:30am UTC](https://community.auth0.com/t/auth0-users-sign-up-ip/82912/6 "2022-05-11T00:30:27Z")

</div>

Thanks for confirming!

You could use the Management API to [get logs](https://auth0.com/docs/api/management/v2#!/Logs/get_logs) and query on the `ss` param (successful signup) but this is still going to be utilizing the logs your tenant has based on the retention period for your Auth0 subscription.

> **[Log Event Type Codes](https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes)**
>
> Lists the event codes associated with log events.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 26, 2022, 12:30am UTC](https://community.auth0.com/t/auth0-users-sign-up-ip/82912/7 "2022-05-26T00:30:29Z")

</div>

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