You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flare and AKoD now use an API instead of pip package for security, and flexibility. Flask API is a type of web API and is designed to make it easy and quick to start building web applications. This API will be used to send a check requests to your auth servers, which should be local, and then return a valid or invalid text.
Setting up a virtual environment in Ubuntu/Linux
In the main directory, CD into the "api" folder
cd ./api
Start the environment
source /env/bin/activate
Install the necessary modules if they aren't already included
sudo pip install -r requirements.txt
Run the API
sudo python3 apiauth.py
Tunnel API through Cloudflare
Head back to Cloudflare Zerotrust dashboard
Select "Networks" then "Tunnels"
Click on the menu for the tunnel you have active (assuming your running the API on the same server)
Configure, then select the "Public Hostname" tab
Add a public host name
Choose a name for subdomain and select your domain
Select HTTP type and the internal server IP for your Ubuntu/Linux server, along with the port 5000 (it should look like HTTP://10.11.32.121:5000)