View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - SAML connection attribute problem (11.4.2) - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

15 et 16 avril 2025 (9h-12h30)

14 et 15 mai 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

23 et 24 avril (9h-12h30)

20 et 21 mai (9h-12h30)

 

 

 

SAML connection attribute problem (11.4.2)

More
29 Nov 2024 12:01 #1 by Virgile
Hello,

We would like to set up a SAML connection with our ADFS. The connection parameters to our adfs are correct and the projeqtor adfs has been added. We want the connection to be made with the sAMAccountName attribute, but we're getting an “Undefined array key ‘sAMAccountName’ in SSO.php at line 106” error. No matter what the attribute name, it tells us “Undefined array key ‘XXXX’ in SSO.php at line 106”.

What attribute do we need to set for this to work?

Thank you in advance.

Best regards,
Virgile.
Attachments:

Please Connexion or Create an account to join the conversation.

More
11 Déc 2024 14:26 #2 by babynus
Check the xml file returned by your sso connection.
You'll see all available fields returned by your sso.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
18 Déc 2024 14:08 #3 by Virgile
Hello,

The xml you mention is the xml we get like this: adfs.com/FederationMetadata/2007-06/FederationMetadata.xml ?

I tried with the name :
schemas.NotAllowedScript680d0c36a6766microsoft.com/ws/2008/06/identit...s/windowsaccountname

with its FriendlyName:
Windows account name

but still with the same problem.

Best regards,
Virgile.

Please Connexion or Create an account to join the conversation.

More
20 Déc 2024 19:56 #4 by babynus
No, I mean the XML file returned from SSO after login.
You can open browser console / network to check response from SSO

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
04 Fév 2025 15:47 - 04 Fév 2025 15:48 #5 by Virgile
Hello,

I get the following error when I try to connect using SAML:

ERROR: Undefined array key “NameID”
in SSO.php
at line 106

It doesn't matter which attribute is set on projeqtor, it tells me it's not defined.

I've looked at the XML sent by our ADFS and the NameID is indeed present:

<Subject>
<NameID Format=“urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified”>ABCD1\VUSER</NameID>
<SubjectConfirmation Method=“urn:oasis:names:tc:SAML:2.0:cm:bearer”>
<SubjectConfirmationData InResponseTo="ONELOGIN_36eb332480cf8b15c6f59e48a313039d8c3bc329”
NotOnOrAfter="2025-02-04T13:51:58.395Z”
Recipient="projeqtor.fr/sso/projeqtor/index.php?acs
/>
</SubjectConfirmation>
</Subject>

Do you have an idea?

Best regards,
Virgile.
Last edit: 04 Fév 2025 15:48 by Virgile.

Please Connexion or Create an account to join the conversation.

More
08 Fév 2025 12:28 #6 by babynus
Hi,

Add one debug line after line ~267 in tool/projeqtor.php
$authAttr = $_SESSION['samlUserdata'];
debugLog($authAttr);
Then set debug Mode in Adminsitration.
Finaly try and connect
You'll get a trace of all available fields.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.