Getting current location using Auth0 rules


Is there any way to get the current location of an user when signing up.

I found Auth0 GetIp Rule to get the location. But it is not giving the exact location. I need something like Navigator function which gives an exact location.

Thank you.

Hey there @aloysius!

I recommend looking into using a Post Registration Action - In it you can use Event Object’s event.request and in particular the geoip object. I think that should get you what you are looking for :smile:

Hope this helps!

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