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

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 Log in or Create an account to join the conversation.

More
11 Dec 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 Log in or Create an account to join the conversation.

More
18 Dec 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.NotAllowedScript680c74197e4d2microsoft.com/ws/2008/06/identit...s/windowsaccountname

with its FriendlyName:
Windows account name

but still with the same problem.

Best regards,
Virgile.

Please Log in or Create an account to join the conversation.

More
20 Dec 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 Log in or Create an account to join the conversation.

More
04 Feb 2025 15:47 - 04 Feb 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 Feb 2025 15:48 by Virgile.

Please Log in or Create an account to join the conversation.

More
08 Feb 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 Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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