fix(audiobookshelf): serve under /audiobookshelf, send the OIDC redirect subfolder #128

Merged
dank merged 5 commits from fix/abs-base-path-sso into main 2026-11-02 20:02:58 -08:00
2 changed files with 9 additions and 8 deletions
Showing only changes of commit f5410bd253 - Show all commits

No files matched your search

@@ -1,6 +1,6 @@
--- ---
type: reference type: reference
description: "Audiobookshelf on Dankserver: quadlet shape, the read-only array bind, state on the SSD, the API bootstrap, authentik SSO, laws." description: "Audiobookshelf on Dankserver: quadlet shape, the read-only array bind, SSD state, API bootstrap, authentik SSO, laws."
tags: tags:
- dankserver - dankserver
- audiobooks - audiobooks
@@ -70,12 +70,13 @@ the file, not the bind: the same line count grows while the total climbs.
The official **Audiobookshelf** app connects with Server Address The official **Audiobookshelf** app connects with Server Address
`http://192.168.0.235:8000/audiobookshelf` — the base path belongs in the address — username `http://192.168.0.235:8000/audiobookshelf` — the base path belongs in the address — username
`frank`, and the same password as the web UI, or the SSO button; plain HTTP. Verified from a `frank`, and the same password as the web UI, or the SSO button; plain HTTP. Measured from a
second host 2026-11-02: `/healthcheck` second host 2026-11-02 and re-measured on both base paths: `/ping` (`{"success":true}`) and
and `/ping` answer 200 across the LAN and `iptables -S INPUT` carries no rule for 8000, `/healthcheck` (`OK`) answer at the ROOT whatever `ROUTER_BASE_PATH` says, so the app's
so a phone on `192.168.0.0/24` connects with no further setup; `download: true` on the connectivity probe works before it resolves the base path at all, and `iptables -S INPUT`
root account is what makes offline listening work. Away from the LAN it cannot connect — carries no rule for 8000 — a phone on `192.168.0.0/24` connects with no further setup, and
see the LAN-only law, and note that the guard chain is not the remedy there. `download: true` on the root account is what makes offline listening work. Away from the LAN
— see the LAN-only law, and note that the guard chain is not the remedy there.
**The login token is at `user.token`, not top level.** `POST /login` answers **The login token is at `user.token`, not top level.** `POST /login` answers
`{ user, serverSettings, ereaderDevices, Source, userDefaultLibraryId }` and the bearer sits `{ user, serverSettings, ereaderDevices, Source, userDefaultLibraryId }` and the bearer sits
+1 -1
View File
@@ -44,7 +44,7 @@ is a locator: one row, one clause, no numbers.
| Page | Owns | | Page | Owns |
|---|---| |---|---|
| [[Audiobookshelf]] | Audiobookshelf on Dankserver: quadlet shape, the read-only array bind, state on the SSD, the API bootstrap, authentik SSO, laws. | | [[Audiobookshelf]] | Audiobookshelf on Dankserver: quadlet shape, the read-only array bind, SSD state, API bootstrap, authentik SSO, laws. |
| [[Calibre]] | Calibre is the e-book library manager that backs Calibre-Web. | | [[Calibre]] | Calibre is the e-book library manager that backs Calibre-Web. |
| [[Calibre-Web]] | Calibre-Web is a web application that browses, reads, and downloads eBooks from an existing Calibre library database. | | [[Calibre-Web]] | Calibre-Web is a web application that browses, reads, and downloads eBooks from an existing Calibre library database. |
| [[Copyparty]] | Copyparty is a lightweight file server and media streamer that runs as a single Python binary. | | [[Copyparty]] | Copyparty is a lightweight file server and media streamer that runs as a single Python binary. |