Authentik configuration #25
Replies: 6 comments 2 replies
|
Can you share the failures so i get some idea of the issues you are facing? Alternatively you could pm me on discord if you dont want to share details publicly. Rgrds Chris |
|
I dont know this specific IdP, but looking at the config i notice 2 things.
Also good to know is that the plugin doesnt support |
|
sorry for the late reply and thanks for your patients. The expected flow explained: 1. the saml flow is initiated by GLPI using a browser redirect. The redirect contains a samlRequest thats packed in the URL. Obviously the setting we changed had to do with 'how' the samlRequest is send to the IDP by the samlClient. This means that with 'redirect' the IDP expects the samlRequest to be in the URL (GET) and in the request body with 'post' .
3. the IDP handles the login using the details in the samlRequest request the samlClient (GLPI) added to the request. The samlRequest contains important instructions for the IDP. For instance that authentication using only a password doesnt satisfy the samlClients requirements. This request also contains a unique requestId that the IDP needs to add to the samlResponse (inResponseTo). Without this value the samlResponse is not accepted by the plugin. This is our default because we dont allow unsolicited samlResponses (idp initiated authentication) as explained earlier.
5. The user is redirected back to the glpi ACS by the IDP. This redirect should initially satisfy a few conditions: 1) the idpId= should be present in the ACS url, 2) the redirect should be a POST request with a valid samlResponse= in the post body. After these conditions are met the plugin will parse the samlResponse and validate it against the settings in the configuration.
7. GLPI handles the response If everything aligns with the configuration the samlResponse is accepted and the Claim information in the samlResponse is used to match the present fields against a known user. The plugin uses predefined fields to do the matching. namely the |
|
@gabrielebertolucci Any update on this issue? |











Uh oh!
There was an error while loading. Please reload this page.
I'm trying to use your plugin (v1.1.12) against our Authentik installation, but I'm collecting only failures. Probably because I'm not so expert in SSO.......
I created a SAML provider in Authentik for GLPI, but something is clearly wrong.
May someone help me?
All reactions