Auth0 Home Blog Docs

Documentation on the geoip data available in rules?

rules
documentation

#1

I’d like to use the geoip information that is available in rules (e.g., context.request.geoip), and I’m able to get it added to the id token and everything seems to be working great (thanks for this feature and the example rules!).

Now, I’d like to store the geoip time_zone provided by the rule in our internally-managed login session table, and would like more information/documentation about this data. I was unable to find anything.

Specifically, is it possible to get a list of all valid time_zones (which would allow me to update/check against a list I keep internally, and allow a foreign key validation when storing the our session records)? Is it some version of the TZ database? (https://www.iana.org/time-zones)


#2

I’m looking into this and will see what I can find out for you