Self hosted app. OTP by email policy not working

Hi,

I am new to Cloudflare. I am following this guide to add email OTP to my app.

https://developers.cloudflare.com/cloudflare-one/policies/access/

I’ve a simple nginx server running in my docker and it’s connected to Cloudflare through a tunnel.

I’ve created a subdomain in DNS → mynginx. and this works great !

I want to add email OTP authentication to test the feature and I noticed, it never pops up any screen to enter the email address.

I tried to include a different policy like bypass and providing the wrong IP range. I get the forbidden access error. So this means the access layer to my application is working.

What am I missing while adding Include Email policy ?

If you have already successfully authenticated against the realm elsewhere you won’t be prompted again. Try revoking the auth token for your account under MyTeam.

Brilliant !! This worked

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.