Skip to content

triauth for MinifluxOIDC

Let your team open their Miniflux reading lists with one approval on their own device, and no Miniflux passwords.

  • News and reading
  • Open source
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

  1. Open oidc.triauth.org and enter your domain. Paste Miniflux's redirect address, https://reader.example.com/oauth2/oidc/callback with your own Miniflux address in place of reader.example.com, and click Connect app. The bridge gives you a client ID and a client secret.

  2. Add the settings below to Miniflux's environment and restart it. Replace example.com with your domain, reader.example.com with your Miniflux address, and the two placeholders with the client ID and the client secret from the bridge.

    ini
    OAUTH2_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=1
  3. Open 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=groups with OAUTH2_ADMIN_GROUP names the group at your domain whose members become administrators. Add groups to OAUTH2_ADDITIONAL_SCOPES for that.

For the person who connects the app

SettingValue
Redirect addresshttps://<your-miniflux>/oauth2/oidc/callback, also set as OAUTH2_REDIRECT_URL
Where in Minifluxenvironment variables, or the configuration file
Discovery endpointthe 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
Usernamepreferred_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

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.