Let xAIGen accept backup ingest without a browser login.

The 401 was the session wall, not a missing token. The ingest route now uses the shared Bearer secret, and both apps default that secret so Coolify vars are optional.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-01 19:35:14 -05:00
co-authored by Cursor
parent f25e1bcc8a
commit 7bcd23fcc5
4 changed files with 10 additions and 9 deletions
+4 -6
View File
@@ -24,12 +24,10 @@ NUXT_OIDC_AUTHORIZE_URL=https://auth.carrgarage.com/application/o/authorize/
NUXT_OIDC_TOKEN_URL=http://192.168.77.2:9000/application/o/token/
LIBRARY_DIR=/data/library
# AIGen → xAIGen still backup. Same secret on both apps. URL only on AIGen.
# AIGen:
# BACKUP_STUDIO_URL=https://xaigen.carrgarage.com
# BACKUP_STUDIO_TOKEN=pick-a-long-random-secret
# xAIGen:
# BACKUP_INGEST_TOKEN=pick-a-long-random-secret
# AIGen → xAIGen still backup. Defaults live in the app. Override only if you need a different host or secret.
# BACKUP_STUDIO_URL=https://xaigen.carrgarage.com
# BACKUP_STUDIO_TOKEN=
# BACKUP_INGEST_TOKEN=
# Private clone (xaigen): password login, isolated library, Comfy prefix
# AUTH_MODE=password