Cloudflare Access allows you to securely publish internal tools and applications to the Internet, by providing an authentication layer using your existing identity providers to control who has access to your applications.
1. Add your application
Click Add an application.
You are now ready to start configuring your app.
Choose an application name and set a session duration.
From the drop-down menu under Application domain, select a hostname that will represent the application. The hostname must be an active zone in your Cloudflare account.
Scroll down to the Application logo card to configure your application logo. To add a custom logo, click Custom and input a link to your desired image.
Next, scroll down to the Identity Providers card to select the identity providers you want to enable for your app.
Turn on Instant Auth if you are selecting only one login method for your application, and would like your end users to skip the identity provider selection step.
2. Add a policy
You can now configure a policy to control who can access your app.
First, specify a name for your rule. This is a mandatory field.
Specify a policy action.
Specify one or more rules in the Configure a rule box. You can add as many include, exception, or require statements as needed.
Click Next to add your application to Access.
3. Advanced settings
The Setup section allows you to configure a few advanced settings for your application.
Once you've configured the settings as needed, click Add application.