SAML auth with Azure

Hello,

i have this error :
[ERROR] seahub.saml.views[333] - saml user uid not found.

but the uid in the SAML response looks like the uid in the mariadb database.
(MariaDB [dtable_db]> select * from social_auth_usersocialauth;)

I’m using seatable version 4.3.8, the LDAP authentification is working and i have set this parameter LDAP_SAML_USE_SAME_UID = True

Thanks.

You find a very detailed how-to for SAML auth at SAML - SeaTable Admin Manual. Including a step-by-step explanation for Azure.

Hi,
It’s the Manual, i have use.

Some more logs :
MariaDB [dtable_db]> select username,provider,uid from dtable_db.social_auth_usersocialauth;
±--------------------------------------------±---------±-------------------------------+
| username | provider | uid |
±--------------------------------------------±---------±-------------------------------+
| d9ccf7d067bc44d596246378c8a93ac2@auth.local | ldap | exemple@manche.fr |
| d9ccf7d067bc44d596246378c8a93ac2@auth.local | Azure | exemple@manche.fr |

tail -f dtable_web.log
2024-03-13 12:13:09 [ERROR] seahub.saml.views[333] - saml user uid not found
2024-03-13 12:13:09 [ERROR] seahub.saml.views[334] - user_identity:…
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mail’: [‘exempleemail@manche.fr’],
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name’: [‘ExempleName’],
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uid’: [‘exemple@manche.fr’]}