Bypass Authelia auth for Calibre-Web OPDS feed#364
Bypass Authelia auth for Calibre-Web OPDS feed#364Roxedus merged 1 commit intolinuxserver:masterfrom
Conversation
|
A few questions: |
It exposes any content loaded into Calibre-web (books, magazines, and audiobooks)
Anonymous (unauthenticated) access is disabled by default, so you need to authenticate with a username and password configured in calibre-web itself. To allow anyone to access it, you need to explicitly enable anonymous access in the calibre-web settings (which could be useful if the library consists entirely of public domain books, or it's a local installation that's only accessible on the local network, or via a VPN). So, when you have Authelia enabled:
When you do not have Authelia enabled:
I'd like if Authelia supported HTTP Basic auth in addition to form-based auth for API use cases, but it's tricky since there's no way to do two-factor auth using Basic auth, so I can't think of a useful way of doing it. So for now, Authelia is only useful for web UIs, not for APIs. |
That's enough for me :) |
eBook apps do not support fancy form-based authentication nor two-factor auth, like what's provided by Authelia. This PR updates the config to bypass Authelia for the
/opds/...endpoints. I verified that this allows me to use Calibre-Web's OPDS feed with Moon+ Reader on Android.I also added a comment about how to enable Authelia single sign-on support in Calibre-Web. Let me know if you'd prefer this to be mentioned in the docs instead.