Has anyone gotten geolocation data to actually be written to the events system without having to have user consent in their browsers?
I have tried various geo location services, Maxmind, IP, Azure and none of them work. The only time it works is if the user is prompted in the browser and they accept.
I'm looking to capture geolocation data based on their IP address only.
I have these settings:
cas.tgc.geo-locate-client-session=true
cas.authn.adaptive.risk.geo-location.enabled=true
cas.authn.adaptive.risk.ip.enabled=true
cas.events.core.enabled=true
cas.events.core.track-geolocation=true
cas.geo-location.maxmind.city-database=/etc/cas/config/geodb/geoip-city.mmdb
cas.geo-location.maxmind.country-database=/etc/cas/config/geodb/geoip-country.mmdb
Obviously, I should not need user permission to just translate their IP to a geolocation.
If it matters, I am using MongoDB for event storage.
CAS version 7.2.3