Hello, I’m trying to setup SSO via OIDC using Auth0 as IdP. Both on the DSM and the Auth0 side I have a user called my.user with email my.user@example.org.
On the Synology side, I followed their guide and I set
When I try to SSO into the NAS, I am redirected to the Auth0 Login form. When I login, I am redirected back to the Synology login portal, but I get back a generic SSO error.
I’ve checked the signup and log flow on your tenant, and it looks good. Can you check the logs in the DSM? Also can you check the connection response https://openidconnect.net/
Hi @dawid.matuszczyk, and thank you for your welcome. I haven’t found a clear log that can help me troubleshot this problem. In/var/etc/auth.log, I can see errors like the following:
2023-12-18T19:53:13+01:00 iset-synology synoscgi_SYNO.API.Auth_7_login[13158]: pam_syno_log_fail(sso:auth): Can't get user uid ().
Hi @dawid.matuszczyk. No worries at all and thank you for your help! Nope, unfortunately I’m still stuck. Here is another piece of log that I’ve found in the NAS:
oidc_auth.cpp:70 Get sso operation failed. Reason: SYNOUserLoginNameConvert failed.
pam_syno_sso.cpp:128 (euid=0)(pam_syno_sso.cpp:128)(Success)Failed [username.empty()]
pam_syno_log_fail(sso:auth): Can't get user uid ().
login.c:1129 Get uid/gid fail for user []. [0x1D00 user_db_get.c:36]