phpsaml icon indicating copy to clipboard operation
phpsaml copied to clipboard

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

Open CartCaved opened this issue 3 years ago • 1 comments

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.

CartCaved avatar Nov 03 '22 09:11 CartCaved

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.

derricksmith avatar Nov 17 '22 03:11 derricksmith