feat(auth): integrate TinyAuth SSO for NetBox authentication

Deploy TinyAuth v4 as CT 115 (192.168.2.10) to provide centralized
SSO authentication for NetBox via Nginx Proxy Manager.

**New Infrastructure:**
- CT 115: TinyAuth authentication layer
- Domain: tinyauth.apophisnetworking.net
- Integration: NPM auth_request → TinyAuth → NetBox

**Configuration:**
- Docker Compose with bcrypt-hashed credentials
- NPM advanced config for auth_request integration
- HTTPS enforcement via SSL termination

**Issues Resolved:**
- 500 Internal Server Error (Nginx config syntax)
- "IP addresses not allowed" (APP_URL domain requirement)
- Port mapping (8000:3000 for internal port 3000)
- Invalid password (bcrypt hash requirement for v4)

**Documentation:**
- Complete TinyAuth README at services/tinyauth/README.md
- Updated CLAUDE_STATUS.md with CT 115 infrastructure
- Added bug report for scribe agent tool permissions

**Note:** Container restart required on CT 115 to apply bcrypt hash

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-18 08:15:05 -07:00
parent 07f9638d8b
commit c4962194e3
70 changed files with 1263 additions and 543 deletions

View File

@@ -0,0 +1,17 @@
#.102
agent: 1
boot: order=scsi0;net0
cores: 4
cpu: host
memory: 8200
meta: creation-qemu=9.0.2,ctime=1739318083
name: docker-hub
net0: virtio=BC:24:11:5B:F5:95,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: Vault:vm-100-disk-0,iothread=1,size=100G
scsihw: virtio-scsi-single
smbios1: uuid=851c9177-a62a-4b55-b495-31680929bed4
sockets: 1
vmgenid: 4ec3beb0-5855-4855-ac77-4552d8848429

View File

@@ -0,0 +1,17 @@
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
ide0: Vault:vm-101-cloudinit,media=cdrom,size=4M
ide2: iso-share:iso/ubuntu-24.04.2-desktop-amd64.iso,media=cdrom,size=6194550K
memory: 8192
meta: creation-qemu=9.0.2,ctime=1749061520
name: monitoring-docker
net0: virtio=BC:24:11:94:63:50,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: Vault:base-107-disk-0/vm-101-disk-0,iothread=1,size=50G
scsihw: virtio-scsi-single
smbios1: uuid=9eea22c7-6662-4cd9-b0e4-b6d821d5f438
sockets: 1
tags: template
vmgenid: 3f7cbc60-9184-4b98-948a-c35672ad5195

View File

@@ -0,0 +1,19 @@
#preparation template vvm
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
ide0: local-lvm:vm-104-cloudinit,media=cdrom
ide2: none,media=cdrom
memory: 5000
meta: creation-qemu=9.0.2,ctime=1748116781
name: ubuntu-dev
net0: virtio=BC:24:11:86:18:0B,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: Vault:base-104-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=4d84ed03-fc39-40e0-bdee-dc9a31b20e0d
sockets: 1
tags: template
template: 1
vmgenid: f26c1136-40de-4497-b286-50e9df75d977

View File

@@ -0,0 +1,17 @@
boot: order=scsi0;net0;ide2
cores: 4
cpu: host
ide2: iso-share:iso/ubuntu-24.04.2-desktop-amd64.iso,media=cdrom,size=6194550K
memory: 16000
meta: creation-qemu=9.0.2,ctime=1747705140
name: dev
net0: virtio=BC:24:11:0B:94:9A,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: Vault:vm-105-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=94e9fcd6-460b-4ba5-bbaa-419b5cf30491
sockets: 1
spice_enhancements: foldersharing=1,videostreaming=all
vga: qxl
vmgenid: 23985a38-d287-4b9c-97d6-6ac8056090bc

View File

@@ -0,0 +1,15 @@
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
ide2: iso-share:iso/ubuntu-24.04.2-desktop-amd64.iso,media=cdrom,size=6194550K
memory: 4096
meta: creation-qemu=9.0.2,ctime=1762020925
name: Ansible-Control
net0: virtio=BC:24:11:19:EA:A0,bridge=vmbr0,firewall=1,tag=5
numa: 0
ostype: l26
scsi0: Vault:vm-106-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=adbbe001-4198-4a4d-ba99-3052f7483c10
sockets: 1
vmgenid: 013f169c-4f1f-4f79-af63-fd57d5dc155a

View File

@@ -0,0 +1,18 @@
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
ide0: Vault:vm-107-cloudinit,media=cdrom
ide2: iso-share:iso/ubuntu-24.04.2-desktop-amd64.iso,media=cdrom,size=6194550K
memory: 4096
meta: creation-qemu=9.0.2,ctime=1749061520
name: ubuntu-docker
net0: virtio=BC:24:11:DB:15:0C,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: Vault:base-107-disk-0,iothread=1,size=50G
scsihw: virtio-scsi-single
smbios1: uuid=e63b1ff1-07f8-4809-a3d6-ca03cab2698e
sockets: 1
tags: template
template: 1
vmgenid: c59cfcf1-fa27-4438-b707-7f3b7bdc4a2d

View File

@@ -0,0 +1,17 @@
bios: ovmf
boot: order=scsi0;net0;ide0
cores: 4
cpu: host
efidisk0: local-lvm:vm-108-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
ide0: iso-share:iso/refplat-20241223-fcs.iso,media=cdrom,size=12426624K
memory: 32000
meta: creation-qemu=9.0.2,ctime=1751066715
name: CML
net0: virtio=BC:24:11:70:E6:08,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: Vault:vm-108-disk-0,iothread=1,size=100G
scsihw: virtio-scsi-single
smbios1: uuid=36809984-61ba-452d-8fa3-78cea42b5e57
sockets: 1
vmgenid: 7c6b3c35-3e83-4c3e-ac89-823f4395b3dc

View File

@@ -0,0 +1,15 @@
boot: order=scsi0;ide2;net0
cores: 1
cpu: x86-64-v2-AES
ide2: iso-share:iso/alpine-standard-3.21.0-x86_64.iso,media=cdrom,size=240M
memory: 2048
meta: creation-qemu=9.0.2,ctime=1762035910
name: web-server-01
net0: virtio=BC:24:11:5A:51:E5,bridge=vmbr0,firewall=1,tag=5
numa: 0
ostype: l26
scsi0: Vault:vm-109-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=483f4dca-bbd5-4a7d-b796-f1b44d2e6caa
sockets: 1
vmgenid: 593fcc09-1934-4e9e-af9a-235ac850db41

View File

@@ -0,0 +1,15 @@
boot: order=scsi0;ide2;net0
cores: 1
cpu: host
ide2: iso-share:iso/ubuntu-24.04.3-live-server-amd64.iso,media=cdrom,size=3226020K
memory: 4096
meta: creation-qemu=9.0.2,ctime=1762040863
name: web-server-02
net0: virtio=BC:24:11:19:CE:FF,bridge=vmbr0,firewall=1,tag=5
numa: 0
ostype: l26
scsi0: Vault:vm-110-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=3b8489d7-fdf8-4f2a-8650-9c1327de1cdf
sockets: 1
vmgenid: 646e0531-ddab-48f5-98a4-f4d15bf32cc7

View File

@@ -0,0 +1,15 @@
boot: order=scsi0;ide2;net0
cores: 1
cpu: host
ide2: iso-share:iso/ubuntu-24.04.3-live-server-amd64.iso,media=cdrom,size=3226020K
memory: 4096
meta: creation-qemu=9.0.2,ctime=1762041805
name: db-server-01
net0: virtio=BC:24:11:C0:5F:B4,bridge=vmbr0,firewall=1,tag=5
numa: 0
ostype: l26
scsi0: Vault:vm-111-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=856b9b58-9146-46fd-88c5-eb8d08fc5f7e
sockets: 1
vmgenid: 6864f7c4-1576-403f-b7e2-1d542bd1e252

View File

@@ -0,0 +1,47 @@
#<div align='center'>
# <a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>
# <img src='https%3A//raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width%3A81px;height%3A112px;'/>
# </a>
#
# <h2 style='font-size%3A 24px; margin%3A 20px 0;'>Homeassistant OS VM</h2>
#
# <p style='margin%3A 16px 0;'>
# <a href='https%3A//ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'>
# <img src='https%3A//img.shields.io/badge/&#x2615;-Buy us a coffee-blue' alt='spend Coffee' />
# </a>
# </p>
#
# <span style='margin%3A 0 10px;'>
# <i class="fa fa-github fa-fw" style="color%3A #f5f5f5;"></i>
# <a href='https%3A//github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>GitHub</a>
# </span>
# <span style='margin%3A 0 10px;'>
# <i class="fa fa-comments fa-fw" style="color%3A #f5f5f5;"></i>
# <a href='https%3A//github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>Discussions</a>
# </span>
# <span style='margin%3A 0 10px;'>
# <i class="fa fa-exclamation-circle fa-fw" style="color%3A #f5f5f5;"></i>
# <a href='https%3A//github.com/community-scripts/ProxmoxVE/issues' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>Issues</a>
# </span>
#</div>
agent: enabled=1
bios: ovmf
boot: order=scsi0
cores: 2
cpu: host
efidisk0: Vault:vm-114-disk-1,efitype=4m,size=1M
localtime: 1
machine: q35
memory: 4096
meta: creation-qemu=9.2.0,ctime=1765231192
name: haos
net0: virtio=02:94:33:30:69:69,bridge=vmbr0
onboot: 1
ostype: l26
scsi0: Vault:vm-114-disk-0,discard=on,size=50G,ssd=1
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=037ffc9a-b591-4043-baa7-a46b83fe853c
tablet: 0
tags: community-script
vmgenid: 7c47d2c1-a6fb-4230-a906-da8aa8dffe53