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