SSO via OpenId against Synology NAS without username

Hi,
I installed succesfully Vikunja in a docker container on the synology nas. I also added the config.yml and I am able to authenticate against synology nas (SSO Server on synology with OIDC).

But the username is not submitted correctly and vikunja is creating a name. I know it has something to do with the missing “preferred_username” in the profile. But I do not see any options to change this on the synology. It works fine with other integrations like paperless ngx or bitwarden.

Does anyone has an idea how to get the username (or mail) properly to Vikunja ?

Regards

Skar

Hey,

I’m not an expert on Synology, but basically you need to make sure that the username is either sent in the access token or available on the userinfo introspection endpoint.

As far as can see online, there’s an option to configure the username claim on Synology side, and there seems to be an option to add additional attributes. Does that help somehow?