Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No attributes received from PI server #224

Open
andyboeh opened this issue Feb 10, 2025 · 4 comments
Open

No attributes received from PI server #224

andyboeh opened this issue Feb 10, 2025 · 4 comments

Comments

@andyboeh
Copy link
Contributor

andyboeh commented Feb 10, 2025

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.

@lukasmatusiewicz
Copy link
Contributor

@andyboeh
Copy link
Contributor Author

andyboeh commented Feb 10, 2025

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?

@nilsbehlen
Copy link
Member

where are they hardcoded?

@andyboeh
Copy link
Contributor Author

Here:

const DEFAULT_UID_KEYS = array("username", "surname", "email", "givenname", "mobile", "phone", "realm", "resolver");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants