One-time PIN login
Cloudflare Access can send a one-time PIN (OTP) to approved email addresses as an alternative to integrating an identity provider. You can simultaneously configure OTP login and the identity provider of your choice to allow users to use their own authentication method.
For example, if your team uses Okta® but you’re collaborating with someone outside your organization, you can use OTP to grant access to external resources.
Set up OTP
To set up OTP to allow guest-user access, you simply add the guest user’s email address to an Access policy and to the group that allows your team to reach the application.
This is the workflow for your guest user:
When logging in to your application, they will select OTP.
Then, they will enter their email address and click Send me a code.
Access will send a one-time PIN they can use to authenticate. This secure PIN expires 10 minutes after the initial request.
If their email address matches a policy, they will receive a PIN.
Next, they will paste the PIN in the login page and click Sign in.
Access will then log them in.
Example API Config
{ "config": {}, "type": "onetimepin", "name": "my example idp"
}