Authentication
To secure your admin panel and set up authentication, we will utilize the Cloudflare Zero Trust service.
Setup Application
Follow the steps below to configure your application:
- Log in to your Cloudflare account.
- Navigate to
Zero Trust. SelectAccessand then click onApplications. - Click
+ Add an applicationand choose theSelf Hostedoption. - Set the
Application NametoXendash - ExampleandSessionDuration to1 week - Click the
+ Add public hostnamebutton and add two entries. - For the first entry, set
Subdomaintoadminand Domain toexample.com. - For the second entry, leave the
Subdomainempty and setDomaintoexample-admin.pages.dev.
Access Policies
Adding Access Policies and Completing the Setup
✨ All set! The admin panel is now secure, and only authorized users can access the app.
Table of Contents

