voidauth #35
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kevin/homelab!35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "voidauth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What the PR changes
voidauthforward‑auth middleware to thefenrusrouter.Middleware config:
address,trustForwardHeader,authResponseHeadersfenrus.fenrusrouter to use the new middleware (middlewares=voidauth@docker).commandline; default Redis config will now run.PAPERLESS_OIDC_*) to enable OpenID Connect sign‑in.Set
PAPERLESS_ACCOUNT_ALLOW_SIGNUPSto"false".network/docker‑compose.yml – (empty placeholder).
Open questions:
Does the current Traefik config expose any unintended paths before auth?
Are there any other services that should also use VoidAuth?
@ -479,8 +539,6 @@ forgejo:paperless-redis:container_name: paperless-redisimage: redis:alpinecommand: ["redis-server", "--save", "", "--appendonly", "no", "--maxmemory", "512mb", "--maxmemory-policy", "allkeys-lru"]May impact persistence; verify that data loss is acceptable.
@ -30,12 +30,15 @@ services:- traefik-netlabels:- "traefik.enable=true"- "traefik.http.middlewares.voidauth.forwardauth.address=http://voidauth:3000/auth/verify"Good integration point. Ensure voidauth:3000 is reachable from Traefik (network, firewall).
@ -444,0 +499,4 @@PAPERLESS_ENABLE_OIDC: "true"PAPERLESS_OIDC_PROVIDER_URL: https://auth.nexus-6.eu/oidcPAPERLESS_OIDC_CLIENT_ID: paperless_handlerPAPERLESS_OIDC_CLIENT_SECRET: OsosEJn1s7qBpodfIZAmL9fEQonmF9cYValues are hard‑coded (client secret visible). Consider moving secrets to environment files or vault.
5e6ae824eato71bd3e0e75