derricksmith / phpsaml

GLPI Plugin - SAML integration using the Onelogin SAML Library
MIT License
32 stars 24 forks source link

SAML claims to update existing user #105

Open PYPoulin opened 2 years ago

PYPoulin commented 2 years ago

Hi, I enjoy the JIT provisioning feature but it seems it can't update the attributes of the users it creates. For example, if an attribute of a user changed on Azure AD it won't be updated in GLPI when the user logs-in GLPI. Let's say the surname of a user changed, GLPI will keep the surname that was present in Azure AD when the JIT provisioning happened.

DonutsNL commented 1 year ago

Added todo in phpsaml.class.php glpiLogin (method calling the JIT method if user doesnt exist, that might include a field validation for changes on existing users and perform an update if needed).