triauth for MinifluxOIDC
Let your team open their Miniflux reading lists with one approval on their own device, and no Miniflux passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Every Miniflux installation
- Set up in
- Environment variables
About Miniflux
Miniflux is a news and blog reader. It collects the articles from the websites a person follows and shows them as one clean, ad-free reading list, in a browser or on a phone. People and small teams run it on their own server to follow industry news and blogs.
Connect Miniflux to triauth
Miniflux signs people in through the triauth OpenID Connect bridge. Once connected, the sign-in page shows a Sign in with button carrying your domain's name. People on your team click it, type their username, and approve on their own device. Nobody keeps a Miniflux password, and when someone leaves, removing their identity records at your domain ends their access to Miniflux as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Miniflux's redirect address,
https://reader.example.com/oauth2/oidc/callbackwith your own Miniflux address in place ofreader.example.com, and click Connect app. The bridge gives you a client ID and a client secret.Add the settings below to Miniflux's environment and restart it. Replace
example.comwith your domain,reader.example.comwith your Miniflux address, and the two placeholders with the client ID and the client secret from the bridge.iniOAUTH2_PROVIDER=oidc OAUTH2_OIDC_DISCOVERY_ENDPOINT=https://oidc.triauth.org/example.com OAUTH2_OIDC_PROVIDER_NAME=example.com OAUTH2_CLIENT_ID=<client ID from the bridge> OAUTH2_CLIENT_SECRET=<client secret from the bridge> OAUTH2_REDIRECT_URL=https://reader.example.com/oauth2/oidc/callback OAUTH2_USER_CREATION=1Open Miniflux's sign-in page and click Sign in with example.com.
Checkpoint
Miniflux's sign-in page shows a Sign in with button with your domain's name. 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 user creation on, everyone with an identity at your domain gets a Miniflux account the first time they sign in. To let only one team in, limit the app to a group when you connect it.
- People who already have a Miniflux account connect it once from their own Settings page.
OAUTH2_GROUP_CLAIM=groupswithOAUTH2_ADMIN_GROUPnames the group at your domain whose members become administrators. AddgroupstoOAUTH2_ADDITIONAL_SCOPESfor that.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-miniflux>/oauth2/oidc/callback, also set as OAUTH2_REDIRECT_URL |
| Where in Miniflux | environment variables, or the configuration file |
| Discovery endpoint | the issuer https://oidc.triauth.org/<your domain> without the well-known suffix, which Miniflux appends itself. It must match the issuer named in the discovery document exactly |
| Username | preferred_username, the person's username, such as john |
Miniflux keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Miniflux's configuration reference lists every variable, and the how-to page shows examples.
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 publish teams and name the administrators' group.
- Read Miniflux's configuration reference for every setting Miniflux 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.