Synology
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/
. - Copy the
Client ID
,Client Secret
,OIDC Discovery URL
for use in the next steps.
Synology Setup
- Open the Synology DSM web interface and open
Control Panel
. - Choose
Domain/LDAP
in the left side, then choose theSSO Client
tab at the top. - Below the
Services
heading, check the box forEnable OpenID Connect SSO service
- Press the
OpenID Connect SSO Settings
button to open the configuration dialog. - Choose
Profile:
asOIDC
. - Choose
Account type:
asDomain/LDAP/local
. - Set
Name:
toPocketID
. - Paste the
OIDC Discovery URL
from Pocket ID into theWell-known URL
field. - Paste the
Client ID
from Pocket ID into theApplication ID
field. - Paste the
Client Secret
from Pocket ID into theApplication secret
field. - Set the
Redirect URL
tohttps://synology.example.com
- Set the
Authorization scope
field to:openid email profile
- Set the
Username claim
field 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
Save
button. - Press the
Apply
button on theControl Panel
page. - Test the new OAuth login by logging out and logging back in again. The login page should now have a
SSO Authentication
tab that lets youContinue with PocketID
.