Tinyauth: Pocket ID login in front of Baikal admin and Changedetection UI

Caddy (sso) snippet does forward_auth to Tinyauth for a given matcher;
Tinyauth sends people to Pocket ID and requires tinyauth_admin_group.
Baikal: only /admin. Changedetection: everything except /api/.
New subdomain auth.thesatelliteoflove.com (dropped from removed_records).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-27 12:04:34 -07:00
1 parent 0bb7e8a9e4
commit 2351740aa7
8 files changed
+110 -3

No files matched your search

@@ -0,0 +1,31 @@
# Tinyauth: Caddy forward_auth target that sends people to Pocket ID before
# they reach admin pages of apps without their own SSO (see the (sso)
# snippet in Caddyfile.j2). Only reachable through Caddy on the lava network.
- name: make tinyauth directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /opt/stacks/tinyauth
- name: Template out the tinyauth compose file
ansible.builtin.template:
src: tinyauth-compose.yml.j2
dest: /opt/stacks/tinyauth/compose.yml
owner: root
mode: '0644'
- name: Template out the tinyauth .env file
ansible.builtin.template:
src: tinyauth-env.j2
dest: /opt/stacks/tinyauth/.env
owner: root
mode: '0640'
group: docker
diff: false # contains the Pocket ID client secret
- name: deploy tinyauth stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/tinyauth
files:
- compose.yml