Geo Tagging and Fencing
This section helps admin set-up geo tagging for users and configure the geo-fencing as well for users to be able to login only from a pre-configured location as per the business requirements.
Last updated
This section helps admin set-up geo tagging for users and configure the geo-fencing as well for users to be able to login only from a pre-configured location as per the business requirements.
Last updated
Use Case:
The admin should be able to configure the geolocation based parameters to restrict or allow login.
Users should be prompted to enable location permissions in the browser or device.
When trying to login from a login-restricted location, the user should receive a notification of the attempt.
Pre-requisites:
The user should already exist.
Email should be already configured.
Configuration
Create a new execution flow
Login to the ZTrust admin console.Go to the ‘Groups’ tab on the right and create a group, for ex. bhubaneswar.
Click on the group, click on `Attributes` and create four attributes, namely, `latitude`, `longitude`, `radius_value` and `radius_units`. Give them the appropriate values, for ex. latitude = 20.3491338; longitude = 85.8070446; radius_value = 100; radius_units = m. Possible values of `radius_units` are “m” for metres, “km” for kilometres, “ft” for feets, “mi" for miles.
Now, add the user/users to the group to allow or restrict their login based on geolocation.