big-AGI
does not come with built-in authentication. To secure your deployment, you can implement authentication
in one of the following ways:
- Build
big-AGI
with support for ⬇️ HTTP Authentication - Utilize user authentication features provided by your ⬇️ cloud deployment platform
- Develop a custom authentication solution
HTTP Basic Authentication is a simple method to secure your application.
To enable it in big-AGI
, you must manually build the application:
-
Build
big-AGI
with HTTP authentication enabled:- Clone the repository
- Rename
middleware_BASIC_AUTH.ts
tomiddleware.ts
- Build: usual simple build procedure (e.g. Deploy manually or Deploying with Docker)
-
Configure the following environment variables before launching
big-AGI
:
HTTP_BASIC_AUTH_USERNAME=<your username>
HTTP_BASIC_AUTH_PASSWORD=<your password>
- Start the application 🔒
This approach allows you to enable authentication without rebuilding the application by using the features provided by your cloud platform to manage user accounts and access.
Many cloud deployment platforms offer built-in authentication mechanisms. Refer to the platform's documentation for setup instructions:
- CloudFlare Access / Zero Trust
- Vercel Authentication
- Vercel Password Protection
- Let us know when you test more solutions (Heroku, AWS IAM, Google IAP, etc.)