Synology
Configure Synology NAS with Pocket ID OIDC
The following example variables are used, and should be replaced with your actual URLS.
- synology.example.com (The url of your Synology instance.)
- id.example.com (The url of your Pocket ID instance.)
Pocket ID Setup
- In Pocket-ID create a new OIDC Client, name it i.e.
Synology. - Set a logo for this OIDC Client if you would like too.
- Set the callback URL to:
https://synology.example.com/, or leave blank to autofill on first login. - Copy the
Client ID,Client Secret,OIDC Discovery URLfor use in the next steps.
Synology Setup
- Open the Synology DSM web interface and open
Control Panel. - Choose
Domain/LDAPin the left side, then choose theSSO Clienttab at the top. - Below the
Servicesheading, check the box forEnable OpenID Connect SSO service - Press the
OpenID Connect SSO Settingsbutton to open the configuration dialog. - Choose
Profile:asOIDC. - Choose
Account type:asDomain/LDAP/local. - Set
Name:toPocketID. - Paste the
OIDC Discovery URLfrom Pocket ID into theWell-known URLfield. - Paste the
Client IDfrom Pocket ID into theApplication IDfield. - Paste the
Client Secretfrom Pocket ID into theApplication secretfield. - Set the
Redirect URLtohttps://synology.example.com - Set the
Authorization scopefield to:openid email profile - Set the
Username claimfield topreferred_username. (This will use the users username vs the email. If the Pocket ID username matches the local Synology DSM account name, it will log in as the existing user.) - Press the
Savebutton. - Press the
Applybutton on theControl Panelpage. - Test the new OAuth login by logging out and logging back in again. The login page should now have a
SSO Authenticationtab that lets youContinue with PocketID.