aixlabDocs
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Authenticate with email

This authentication provider is build in with cloudflare. It is helpful for a small amount of user who need to have access to a protected site, e.g. staging.

Setuop One-time PIN

  1. Log in to the Cloudflare dashboard and select your account.
  2. In Account Home, select Zero Trust.
  3. In AZero Trust, select Access > Applications.
  4. Select Add an application.
  5. Select Self-hosted
  6. Enter an application name.
  7. Select the domain which to add authentication and if necessary a subdomain.
  8. Keep Enable App in App Launcher active.
  9. Deactivate Accept all available identity providers.
  10. Select One-time PIN.
  11. Deselect others.
  12. Activate Skip identity provider selection if only one is configured.
  13. Klick Next button.
  14. Enter a Policy name e.g. “Allow Members - Cloudflare Pages”.
  15. Chose Allow for Action.
  16. Chose Same as application session timeout for Session duration.
  17. In Configure rules chose Emails as selector and enter alle email who need to accces this site.
  18. Click Next
  19. Click Add application