triauth for UnraidOIDC
Let the administrator of your Unraid server sign in with one approval on their own device, and no root password at the browser.
- Sign-in through
- OpenID Connect bridge
- Available in
- Unraid OS 7.2 and newer, on every licence
- Set up in
- Settings › Management Access › API › OIDC
About Unraid
Unraid is an operating system for home servers and small-office NAS boxes. It manages a disk array, Docker containers, and virtual machines through a web interface, and self-hosters use it as a file server and app host. The web interface has one administrator account.
Connect Unraid to triauth
Unraid signs people in through the triauth OpenID Connect bridge, as a custom provider on its login page. Once connected, the login page shows a button with the label you choose. The administrator clicks it, types their username, and approves on their own device. The root password stays unused in the browser, and when the administrator changes, removing the old identity records at your domain ends their way in as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Unraid's redirect address,
https://unraid.example.com/graphql/api/auth/oidc/callbackwith the address you open the web interface at in place ofunraid.example.com, and click Connect app. The bridge gives you a client ID and a client secret.In Unraid, open Settings › Management Access › API › OIDC, add a provider, and fill in the fields below with your domain in place of
example.com. Save.Field Value Issuer URL https://oidc.triauth.org/example.comClient ID and Client Secret from the bridge Required Scopes openid,profile,emailAuthorization Mode Simple, with the administrator's identifier under Specific Email Addresses Sign out and click the new button on the login page.
Checkpoint
Unraid's login page shows the new provider button under the password form. Choosing it opens a page from the bridge that asks for the username, and the administrator's authenticator asks them to approve. Unraid then opens as root.
Good to know
- Unraid has one account, so whoever passes the authorization rules becomes the administrator. The rules are required, and the simple mode lists exactly the identifiers allowed in. The advanced mode can instead require one of the groups published at your domain, with
groupsadded to the scopes. - The redirect address follows the hostname in the browser, so always open the web interface through the one you registered.
- The provider is part of the open-source Unraid API, and nothing about it depends on the licence tier.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-unraid>/graphql/api/auth/oidc/callback, built from the browser's origin. Give the server a certificate and a hostname, since the bridge takes https:// addresses |
| Where in Unraid | Settings › Management Access › API › OIDC |
| Issuer URL | the issuer without a trailing slash. Unraid reads the discovery document from it |
| Client Secret | required. Unraid keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge |
| Claims | read from the ID token only, which is where the bridge puts the email and the groups |
Unraid's OIDC provider setup guide explains every field and the rule operators.
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 the people who administer your servers an identifier at your domain.
- Read Groups to publish the group that an advanced rule can require.
- Read Unraid's OIDC provider setup guide for every setting Unraid 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.