by Avinash Ananth Narayan R
Note: this can effectively disable the purpose of having two-factor authentication. Tread carefully!!! Don't blame me for using this.
Allows onelogin two-factor authentication to be accepted automatically based on conditions
The default condition is based on the region. You should edit the flow with the country of origin before you start the process -- look for <location-here> and replace it with your country of residence (e.g., USA). You can choose to add more restrictions here for more security.
If the notification fails the security check, no further actions are taken, the user is presented with a dialog to accept or deny the access request.