| Issue | Status | Details |
|---|---|---|
| JWT Secret Deprecation | ✅ FIXED | Migrated to identity_validation.reset_password.jwt_secret |
| SMTP Conflict | ✅ FIXED | Using address format only (no host/port mix) |
| Session Cookies | ✅ FIXED | Per-cookie default_redirection_url configured |
| Cookie Domain | ✅ FIXED | localhost with nginx-proxy handling |
| SMTP Address | ✅ FIXED | Address format: smtp://host:port |
✅ authelia/configuration.yml - Modern v4.38.0+ syntax ✅ docker-compose.yml - Updated env variables (lines 1464-1530) ✅ Complete Documentation - 5 comprehensive guides
SMTP_HOST=smtp.tinet.cat
SMTP_PORT=465
SMTP_USERNAME=your_email@example.com
SMTP_PASSWORD=your_password
SMTP_SENDER=Authelia <noreply@example.com>
AUTHELIA_DOMAIN=auth.localhostmkdir -p ./secrets
openssl rand -base64 32 > ./secrets/authelia_jwt_secret.txt
openssl rand -base64 32 > ./secrets/authelia_session_secret.txt
chmod 600 ./secrets/*.txtdocker compose up -d postgres redis autheliacurl http://localhost:9091/api/health
# Expected: HTTP 200 OKBrowser: http://auth.localhost:9091
| File | Size | Purpose |
|---|---|---|
| AUTHELIA_QUICK_START.md | 8.7 KB | 🚀 Start here - Step-by-step guide |
| AUTHELIA_FAQ.md | 11 KB | ❓ Answers to your 5 questions |
| AUTHELIA_FIXES_SUMMARY.md | 9.4 KB | 🔍 What was fixed & why |
| docs/authelia-setup.md | 12 KB | 📚 Complete reference |
| AUTHELIA_COMPLETE_SOLUTION.md | 9 KB | 📋 Full index & overview |
# ✅ Modern JWT (was: jwt_secret at root)
identity_validation:
reset_password:
jwt:
expiration: 15m
# ✅ Per-cookie config (was: global default_redirection_url)
session:
cookies:
- name: authelia_session
domain: localhost
default_redirection_url: https://forgejo.localhost
# ✅ SMTP address format (was: host + port keys)
notifier:
smtp:
address: 'smtp://smtp.tinet.cat:465'
sender: 'Authelia <noreply@example.com>'environment:
# ✅ Modern JWT key
- AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE=/run/secrets/authelia_jwt_secret
# ✅ SMTP address format (not host/port)
- AUTHELIA_NOTIFIER_SMTP_ADDRESS=smtp://${SMTP_HOST:-smtp.tinet.cat}:${SMTP_PORT:-465}
- AUTHELIA_NOTIFIER_SMTP_USERNAME=${SMTP_USERNAME}
- AUTHELIA_NOTIFIER_SMTP_PASSWORD=${SMTP_PASSWORD}
- AUTHELIA_NOTIFIER_SMTP_SENDER=${SMTP_SENDER:-Authelia <noreply@example.com>}# 1. Container running?
docker compose ps authelia
# Expected: Up (healthy)
# 2. Health endpoint working?
curl -i http://localhost:9091/api/health
# Expected: HTTP/1.1 200 OK
# 3. No configuration errors?
docker compose logs authelia | grep -i "error\|fatal" | wc -l
# Expected: 0
# 4. Login page accessible?
curl -s http://localhost:9091 | grep -i "login\|password" | head -1
# Expected: Found "login" in HTMLUse address format: smtp://host:port
Use localhost in config + nginx-proxy handles browser
Use new path: identity_validation.reset_password.jwt_secret
Move to per-cookie level in cookies array
Authelia runs HTTP internally, nginx-proxy handles TLS
→ See AUTHELIA_FAQ.md for detailed answers
# ❌ Old JWT key
jwt_secret: ...
# ❌ Mixing SMTP formats (causes conflict)
host: smtp.example.com
port: 465
address: 'smtp://...:465'
# ❌ Global default_redirection_url (causes error)
session:
default_redirection_url: https://example.com
cookies:
- name: session
# ❌ Deprecated SMTP env vars
AUTHELIA_NOTIFIER_SMTP_HOST=...
AUTHELIA_NOTIFIER_SMTP_PORT=...# ✅ Modern JWT key path
identity_validation:
reset_password:
jwt:
expiration: 15m
# ✅ SMTP address format only (no conflict)
notifier:
smtp:
address: 'smtp://smtp.example.com:465'
# ✅ Per-cookie config (no error)
session:
cookies:
- name: authelia_session
default_redirection_url: https://example.com
# ✅ Modern SMTP env var
AUTHELIA_NOTIFIER_SMTP_ADDRESS=smtp://...User Browser
↓
nginx-proxy (Port 80/443) ← Handles HTTPS
↓
Authelia (Port 9091) ← Authentication
↓
Protected Services (n8n, ComfyUI, etc.)
↓
Backend Services (PostgreSQL, Redis, etc.)
- Read: AUTHELIA_QUICK_START.md
- Setup: Create
.envfile - Generate: Docker secrets
- Start: Services
- Test: Health endpoints
- Use: Protect your services
Total Time: ~15 minutes ⏱️
- Getting Started: AUTHELIA_QUICK_START.md
- Specific Questions: AUTHELIA_FAQ.md
- Problem Details: AUTHELIA_FIXES_SUMMARY.md
- Full Reference: docs/authelia-setup.md
- Complete Index: AUTHELIA_COMPLETE_SOLUTION.md
- Read AUTHELIA_QUICK_START.md
- Add SMTP variables to .env
- Generate Docker secrets
- Start PostgreSQL
- Start Redis
- Start Authelia
- Check health endpoint
- Access login page
- Create test user
- Test protected service
Status: ✅ All Issues Resolved - Ready to Deploy
Last Updated: January 5, 2025 Authelia Version: 4.38.0+ Docker Compose: 3.8+