Skip to content

triauth for Synology DSMOIDC

Let your team open the DSM desktop of your Synology NAS with one approval on their own device, and no DSM password to type.

  • IT and infrastructure
  • Commercial
Sign-in through
OpenID Connect bridge
Available in
DSM 7.2 and newer
Set up in
Control Panel › Domain/LDAP › SSO Client

About Synology DSM

DSM, DiskStation Manager, is the operating system of Synology NAS devices. It is a desktop in the browser for file sharing, backups, photos, surveillance, and the other packages a NAS runs. Households and small IT teams use it as their file server and application host.

Connect Synology DSM to triauth

Synology DSM signs people in through the triauth OpenID Connect bridge, with the SSO Client built into DSM. Once connected, the DSM login page offers SSO as a sign-in method, under the name you give the profile. People on your team choose it, type their username, and approve on their own device. Nobody types a DSM password, and when someone leaves, removing their identity records at your domain ends their sign-in through the bridge, and disabling their DSM user closes the rest.

How it works

  1. In DSM, open Control Panel › Domain/LDAP › SSO Client, tick Enable OpenID Connect SSO service, and click OpenID Connect SSO Settings. Choose OIDC as the profile.

  2. Open oidc.triauth.org and enter your domain. Paste the address of DSM as your browser reaches it, https://nas.example.com:5001 with your own address in place of nas.example.com:5001, as the redirect address, and click Connect app. The bridge gives you a client ID and a client secret.

  3. Back in DSM, fill in the fields below with your domain in place of example.com and your DSM address in place of nas.example.com:5001, and save.

    FieldValue
    Account typeDomain/LDAP/local
    Nameexample.com
    Well-known URLhttps://oidc.triauth.org/example.com/.well-known/openid-configuration
    Application ID and Application Secretthe client ID and the client secret from the bridge
    Redirect URIhttps://nas.example.com:5001
    Authorization scopeopenid profile email
    Username claimpreferred_username
  4. Make sure every person has a DSM user named exactly like their username, john for john@example.com. Then open the DSM login page and choose the SSO sign-in.

Checkpoint

DSM's login page offers an SSO sign-in under the profile's name. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve. DSM then opens their desktop.

Good to know

  • DSM creates no accounts at sign-in. Each person needs a DSM user, local or from a directory the NAS has joined, named exactly like their username. To let only one team in, limit the app to a group when you connect it.
  • Shared folders and permissions follow the DSM user and its DSM groups. The groups published at your domain are not used.
  • The sign-in covers the DSM desktop and the packages that open inside it. DSM takes one redirect address, so a package reached on a port of its own is not covered, and Synology publishes nothing about its mobile apps and this sign-in, so count on them keeping their DSM passwords.

For the person who connects the app

SettingValue
Redirect addressthe DSM address as the browser reaches it, https://<your-nas>:5001 or the address behind your reverse proxy, with no path. An address such as https://192.168.1.10:5001 works too, since only the browser follows it
Where in DSMControl Panel › Domain/LDAP › SSO Client › OpenID Connect SSO Settings, profile OIDC
Well-known URLthe bridge's discovery document in full. DSM takes no addresses by hand
Scopespace separated, openid profile email
Username claimpreferred_username, the person's username. It contains no character that DSM forbids in a user name
Account typeDomain/LDAP/local lets local DSM users sign in. The other choice matches directory users only

DSM keeps the client secret, as far as the published setups show, so leave This app can't keep a secret unticked when you connect it on the bridge. Synology's SSO Client help describes every field.

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.