Merge pull request 'fix: allow auth cookies over HTTP for reverse proxy setup' (#41) from dev into main
Deploy Dashboard / deploy (push) Failing after 6m24s
Run Tests / Backend Tests (push) Failing after 5m19s
Run Tests / Frontend Tests (push) Failing after 1m4s
Run Tests / Test Summary (push) Failing after 14s

This commit was merged in pull request #41.
This commit is contained in:
2026-04-08 11:20:57 +08:00
2 changed files with 3 additions and 3 deletions
-2
View File
@@ -1,3 +1 @@
# Dashboard
CI deploy test after fixing duplicate network issue
+3 -1
View File
@@ -17,7 +17,9 @@ oauth2_scheme = OAuth2PasswordBearer(tokenUrl="api/auth/login")
ACCESS_COOKIE_NAME = "nas_access_token"
REFRESH_COOKIE_NAME = "nas_refresh_token"
COOKIE_SECURE = True
# Allow both HTTP and HTTPS by setting secure=False
# In production, Caddy terminates TLS and forwards to backend over HTTP
COOKIE_SECURE = False
COOKIE_SAMESITE = "lax"
COOKIE_PATH = "/"