ZeroTrust Policies Issues

Hi.

Im trying to set up ZeroTrust. But it just doesnt seem to work, in terms of getting the emails for the one time pin code. All im trying to do is protect a URL on 2 sites. i.e /admin

I want to permit access to only 2 users based on email. However, after trying a number of different ways of doing this I only get the emails on certain occasions. My question is how should this be configured.

My current set up is this:

  • 2 x Applications.

  • I have a allowlist with some IPs which bypasses ZT which works
  • I have then have a access policies which is set to
    • Include: Everyone
    • Required : One-time PIN, Emails: email1 email2

Is this correct?