triauth for KavitaOIDC
Let your family or team open Kavita with one approval on their own device, and no Kavita passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Kavita 0.8.8 and newer
- Set up in
- Settings › OpenID Connect
About Kavita
Kavita is a self-hosted reading server for comics, manga, and e-books. You point it at folders of files and it serves a library with a web reader, reading progress, and an account for each person with their own libraries and age limits. Families and small groups use it to share a book collection the way others share films.
Connect Kavita to triauth
Kavita signs people in through the triauth OpenID Connect bridge. Once connected, the login page shows a button with your domain's name under the password form. People click it, type their username, and approve on their own device. Nobody keeps a Kavita password, and when someone leaves, removing their identity records at your domain ends their access to Kavita as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Kavita's redirect address,
https://kavita.example.com/signin-oidcwith your own Kavita address in place ofkavita.example.com, and click Connect app. The bridge gives you a client ID and a client secret.In Kavita, open Settings › OpenID Connect and fill in the fields below with your domain in place of
example.com. Save, then restart Kavita.Field Value Authority https://oidc.triauth.org/example.comClient ID and Client secret from the bridge Provider name example.comProvision accounts on Under Defaults, choose the roles, libraries, and age rating that new accounts get, and leave Sync user settings with OIDC roles off.
Open Kavita's login page and click the button with your domain's name.
Checkpoint
Kavita's login page shows a button with your domain's name under the password form. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.
Good to know
- With Provision accounts on, everyone with an identity at your domain gets a Kavita account the first time they sign in. To let only one team in, limit the app to a group when you connect it.
- Kavita's role sync expects group values equal to its own role names, such as
Login, and the groups published at your domain always carry the domain, such asreaders@example.com, which Kavita's Roles prefix cannot strip. Roles and libraries therefore stay in Kavita's user management. - Kavita's apps and OPDS readers keep using an API key, so the sign-in change does not reach them.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-kavita>/signin-oidc, under the base URL if you set one |
| Where in Kavita | Settings › OpenID Connect. Authority, Client ID, and Client secret are stored in appsettings.json and need a restart |
| Authority | exactly https://oidc.triauth.org/<your domain>, no trailing slash. Kavita compares it with the issuer in the discovery document and reads the rest from there |
| Scopes | Kavita asks for the scopes the bridge offers, openid profile email offline_access, and drops roles. It renews the bridge's tokens whenever they expire. The sign-in itself rests on Kavita's own cookie, usually seven days, so a renewal the bridge refuses signs nobody out |
| Password sign-in | Disable password authentication leaves only administrators on passwords |
Kavita keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge.

Kavita's OpenID Connect guide explains every setting and the role names.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to limit Kavita to one group when you connect it.
- Read Kavita's OpenID Connect guide for every setting Kavita offers.
All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.