Initial commit - FastAPI guest portal with Authentik OIDC, UniFi integration, and branding assets
This commit is contained in:
30
.env.example
Normal file
30
.env.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# Authentik OIDC Settings
|
||||
AUTHENTIK_HOST=https://auth.example.com
|
||||
AUTHENTIK_CLIENT_ID=your-client-id
|
||||
AUTHENTIK_CLIENT_SECRET=your-client-secret
|
||||
|
||||
# Portal Settings
|
||||
PORTAL_SECRET_KEY=your-random-secret-key
|
||||
PORTAL_BASE_URL=https://portal.example.com
|
||||
|
||||
# Site configurations (JSON)
|
||||
SITES='[
|
||||
{
|
||||
"id": "jfmt",
|
||||
"name": "JFMT-PDX",
|
||||
"unifi_host": "https://192.168.1.1",
|
||||
"unifi_api_key": "your-api-key",
|
||||
"unifi_site": "default",
|
||||
"ssid": "jfmt_guest",
|
||||
"default_duration_minutes": 1440
|
||||
},
|
||||
{
|
||||
"id": "jfhr",
|
||||
"name": "JFHR",
|
||||
"unifi_host": "https://192.168.10.1",
|
||||
"unifi_api_key": "your-api-key",
|
||||
"unifi_site": "default",
|
||||
"ssid": "jfhr_guest",
|
||||
"default_duration_minutes": 1440
|
||||
}
|
||||
]'
|
||||
Reference in New Issue
Block a user