Configure Zitadel for Synology DSM #7907
Aurel004
started this conversation in
Show and tell
Replies: 1 comment
-
Hei @Aurel004 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This tutorial will work for Synology users that run DSM v7.2+ as you can use local existing users in DSM rather than use a LDAP Server to connect.
Go to your zitadel console: https://zitadel.mydomain.com/ui/console
Go to Projects and create a new one if needed, mine will be
server
Click on New
Set a name, like DSM and choose
WEB
Select
Code
In Redirect URIs put your DSM domain like
https://dsm.mydomain.com
Click Create and copy the ClientId and ClientSecret provided to Notepad
You will need to provide the username of your Zitadel account to DSM
Go to DSM, login, open Control Panel, click Domain/LDAP and click on SSO Client
Tick
Select SSO by default on the login page
page if you want, then click on Enable OpenID Connect SSO serviceClick the OpenID Connect SSO Settings button
Configuration
OIDC
Domain/LDAP/local
Zitadel
or any name you want on the login page, it can beOAuth
https://zitadel.mydomain.com/.well-known/openid-configuration
XXXX@server
the ClientId copied in step 7XXXX
the ClientSecret copied in step 7https://dsm.mydomain.com
must match the redirect URI set in step 6openid profile preferred_username
preferred_username
What if your username in Zitadel is not the same username in DSM ?
The preferred_username as set above, will use your username set in Zitadel, you can see it on your profile page in Zitadel.
If your username is not the same and you do not want to change it, you can tweak it to set a custom username.
As Zitadel does not provide (yet) custom scopes, you can set the Nickname field in Zitadel to match your DSM account username
myDSMUsername
openid profile preferred_username
toopenid profile nickname
preferred_username
tonickname
And voilà, you're done!
Beta Was this translation helpful? Give feedback.
All reactions