feat(media): chaptarr native OIDC instead of forward_auth
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m23s
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m23s
Chaptarr has built-in OIDC (/signin-oidc), so per the auth standard it gets Pattern A: new homelab-chaptarr OAuth2 provider, old forward_auth proxy provider removed, Caddy block reduced to internal_only + proxy. setup-books-auth.py now handles both OIDC apps generically. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e0240d8e10
commit
f92cad4d66
5 files changed
+72
-48
No files matched your search
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Creates the books-stack Authentik providers/apps (idempotent). Run on valhalla.
|
||||
# Prints the audiobookshelf OIDC client id/secret path on success.
|
||||
# Copies the OIDC client ids/secrets out on success.
|
||||
set -euo pipefail
|
||||
here="$(cd "$(dirname "$0")" && pwd)"
|
||||
docker cp "$here/setup-books-auth.py" authentik_server:/tmp/setup-books-auth.py
|
||||
docker exec authentik_server ak shell -c "exec(open('/tmp/setup-books-auth.py').read())" 2>&1 | grep -E '^(PROXY|OIDC)|Error|Traceback'
|
||||
docker cp authentik_server:/tmp/books-abs-oidc.env "${1:-./books-abs-oidc.env}"
|
||||
docker exec authentik_server rm -f /tmp/books-abs-oidc.env /tmp/setup-books-auth.py
|
||||
docker cp authentik_server:/tmp/books-oidc.env "${1:-./books-oidc.env}"
|
||||
docker exec authentik_server rm -f /tmp/books-oidc.env /tmp/setup-books-auth.py
|
||||
Reference in new issue
Block a user