derricksmith / phpsaml

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

GLPI and Keycloak - "Found an Attribute element with duplicate Name" #113

Open CartCaved opened 2 years ago

CartCaved commented 2 years ago

Hello,

I've managed (I think) to set up phpsaml with Keycloak. I had some problem with the different terms but the main authentication seems to be working - except when the user gets redirected back to GLPI, they don't get logged in.

Instead there is a message - "Found an Attribute element with duplicate Name" and a lonk to log in again that brings them back to the login page.

I have debug enabled in the plugin but the only thing I see in the glpi php-errors.log is the exact same message, so I'm having trouble troubleshooting the issue.

derricksmith commented 2 years ago

Can you provide a screenshot? You may need to step through the plugin_post_init_phpsaml function in setup.php to see where this message is generated.