this post was submitted on 14 Jan 2024
32 points (100.0% liked)

Selfhosted

40152 readers
650 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I’ve been trying out Kavita as an ebook software, and I really like it so far, with one exception. Accounts are all local to the app, and there is no ability handle user accounts through their site, similar to how Plex does it. This means that every time I screw up and have to set up again over the years, my users will have to get new invites and make new accounts. When I mess up Plex and have to reinstall, I can just add new permissions for the users already linked to my account, which makes it easy to transition everyone to a new server with minimal impact to my viewers.

Before I fully commit to Kavita, is there any program out there for ebooks that has accounts managed through a central server rather than my local one?

you are viewing a single comment's thread
view the rest of the comments
[–] ptz@dubvee.org 7 points 10 months ago (5 children)

I use Calibre-Web and external auth. The auth headers are added by Authelia + Nginx which sit in front of it.

Not exactly turn-key, but since I was already using Authelia, it was simple enough to switch from local accounts to external.

[–] deletedporcupine@lemmy.world 1 points 10 months ago (1 children)

Any good resources you can point me to for that?

[–] ptz@dubvee.org 2 points 10 months ago

I use the version packaged by linuxserver.io:

https://docs.linuxserver.io/images/docker-calibre-web/

Unfortunately, that's about as good of docs as I've been able to find for it.

To configure external auth, go to its web interface at /admin/config and then expand "Feature Configuration"

There's a checkbox for "Enable reverse proxy authentication" and below that a field to specify the header name that will contain the email address of the authenticated user. In my case, it's REMOTE_EMAIL.

That header will vary depending on what you have setup for authentication, but it needs to provide an email address that determines the user.

My version is a little old, but from skimming the current docs, it may support OAUTH now.

load more comments (3 replies)