simplesamlphp-module-privacyidea icon indicating copy to clipboard operation
simplesamlphp-module-privacyidea copied to clipboard

No attributes received from PI server

Open andyboeh opened this issue 1 year ago • 4 comments

I am in the process of updating PrivacyIdea and simpleSAMLphp. Unfortunately, I can't get this to work, because no attributes are received from the PI server. The reason is that the endpoint "/validate/check" is used instead of "/validate/samlcheck".

The old implementation that was working fine used the "/samlcheck" endpoint, the new one does not. Changing just the endpoint is not enough, it crashes later.

andyboeh avatar Feb 10 '25 09:02 andyboeh

Hi @andyboeh , read this please: https://community.privacyidea.org/t/authentication-form-is-keep-occuring-even-after-the-user-is-successfully-authenticated/2410 It should help!

lukasmatusiewicz avatar Feb 10 '25 10:02 lukasmatusiewicz

Thanks, that worked! How come I didn't know that?

Anyway, now I'm getting a Warning regarding the keys "surname" and "mobile" because my auth provider does not return them. Why are they hardcoded?

andyboeh avatar Feb 10 '25 19:02 andyboeh

where are they hardcoded?

nilsbehlen avatar Feb 18 '25 15:02 nilsbehlen

Here: https://github.com/privacyidea/simplesamlphp-module-privacyidea/blob/ce26df6b2cc46671400b90fa5a0c102e9ec32d40/src/Auth/Source/PrivacyideaAuthSource.php#L20

andyboeh avatar Feb 19 '25 09:02 andyboeh