Routes X-authentik-username -> per-user t3 instance; on no t3_session cookie, mints a pairing token (as the OS user) and exchanges it at /api/auth/bootstrap, injecting the session cookie. Listens :3780, reads /etc/t3-serve/dispatch.json. Constants from the Task-1 auth-contract spike. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
13 lines
255 B
Desktop File
13 lines
255 B
Desktop File
[Unit]
|
|
Description=t3 per-user dispatch + auto-pair (X-authentik-username -> user instance)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=wizard
|
|
ExecStart=/usr/local/bin/t3-dispatch
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|