Auth SSO
auth.loca.zone is the sign-in desk for selected private loca.zone sites: Nginx sends an unsigned visitor to Authelia, Authelia checks the password and creates the shared authelia_session cookie, and Nginx lets the visitor return to the requested site only after Authelia approves the request.
flowchart LR A[Browser opens protected app] --> B[Nginx] B --> C{Authelia approves session?} C -->|no| D[auth.loca.zone sign-in] D --> E[loca.zone session cookie] E --> B C -->|yes| F[Protected app]
Status: applied 2026-08-27
- live sign-in service:
- portal:
https://auth.loca.zone - backend: Docker Compose service
autheliaon loopback port51091 - theme:
dark - session limits:
expiration: 24h,inactivity: 12h,remember_me: 1y
- portal:
- live portal injection:
sub_filter '</title>'inserts/portal-forest.csssub_filter '</head>'inserts/portal-remember.js- both same-origin assets return
200 - remember me is visible and starts checked; users can untick it
- live companion wiki:
- URL:
https://wiki.auth.loca.zone - HTTPS uses its own
wiki.auth.loca.zonecertificate - published root:
/home/loca/dev/wikis/auth/current
- URL:
- protected-gate proof:
https://tndm.loca.zone/still returns302tohttps://auth.loca.zone/?rd=...
- changelog — applied 2026-08-27:
- portal theme changed from
autotodark - normal session limits changed from
1h/5mto24h/12h - remembered-session lifetime changed from
1Mto1y /portal-cleanup.csswas replaced by/portal-forest.cssand/portal-remember.js, then deleted- the remember-me row changed from hidden to visible and pre-checked
wiki.auth.loca.zonechanged from a local build to a live HTTPS site with a dedicated certificate
- portal theme changed from
Start here
- first login or redirect question:
- unexpected logout or a risky long session:
- which host receives which policy:
- native OIDC sign-in for LiteLLM and Coder:
- forest styling or checkbox injection:
- command needed right now:
- account or secret handling:
- failure diagnosis:
Sources of truth
- live Authelia configuration:
/home/loca/dev/services/authelia/config/configuration.yml
- live Compose definition:
/home/loca/dev/services/authelia/docker-compose.yml
- live portal vhost:
/etc/nginx/sites-available/auth.loca.zone
- host port and ask-first registry:
/home/loca/AGENTS.md
- applied change workspace:
/home/loca/dev/auth