Configure SSO on Synology

Hello

Could you please help with configuring SSO?
I haven’t found any article about this.

I’ve installed Grist on Synology in Docker and have Synology SSO server installed but don’t know how to connect them together.

1 Like

Hi @amalcev, thanks for posting! Is this page describing the SSO you have?

It says SAML 2.0 and OpenID Connect (OIDC) are not supported. Grist so far has only been used via SAML. On a quick skim, one way of connecting Grist with Synology would be for someone to write some code that uses SSO’s api (https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/SSOServer/All/enu/Synology_SSO_API_Guide.pdf maybe?) to implement the few methods Grist needs for a new kind of integration https://github.com/gristlabs/grist-core/blob/d51180d349a63972ed9f742df1d9da2064ac95b0/app/server/lib/GristServer.ts#L42

Maybe there’s a way to use SAML, and I missed it - if so the settings are like these: https://github.com/gristlabs/grist-core/blob/main/app/server/lib/SamlConfig.ts#L2

If you or someone you know is a Synology guru, I’d be happy to help with the Grist side of this.

1 Like

Synology SSO Server support OAuth2.0
Description of the setting in Russian lang

Code for PHP implementation on GitHub