
lctwa (lctwa) asked a question.
we could roughly detect where someone is by the last IP addresses they used when accessing Okta.
If they did so from inside the office network, it would be one IP address, if they accessed from home, it would a different one. Each of our offices have a static IP address, so we could quickly train Okta to know those.
This would be useful for setting someone's status automatically to "onsite at Cambridge", "onsite in San Diego", or "remote working".
is this possible to do?

Thank you for reaching out to Okta . You can determine specific network using Okta Network Zone. Please refer the article below:
You can see the Ip and the zone from which users are coming from under system log only. Let's say if your users are coming from specific range of Ip describe under the network zone( onsite at Cambridge), Then under system log you can see that zone with Ip. But you can not set the status as "remote" if your users are coming from off-network.
Also If you have any further question please open a support case with us and we will be more than happy to assist you with your use-case.
Network zones
create on prem zones
also check the dynamic blocks!
you can block lots to protect yourself well.
i have. Fb group called okta help tips and tricks to try for a more dynamic QnA
thanks for these ideas.
so the proposal is that we set up network zones, and then use an API to get the logs of users by their zone, and turn that into a status map with people's approximate location. we'd need to be careful to preserve people's privacy in all that.