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

User identificator configureable #24

Open
Baachi opened this issue Aug 15, 2019 · 1 comment
Open

User identificator configureable #24

Baachi opened this issue Aug 15, 2019 · 1 comment

Comments

@Baachi
Copy link
Contributor

Baachi commented Aug 15, 2019

We currently have hardcoded the uid property to identify a user, but some providers does not have a uid property so they can't be used right now.

So we should rely on the nameid format and/or provide a mapping configuration for this kind of configuration.

@neufeind
Copy link
Contributor

Stumbled across this as well. Workaround might be to set a value for "uid" in Classes/Authentication/SamlAuth.php. It's expected in Classes/Service/UserCreator.php that the "uid" attribute is set.
With a Microsoft-idp for example it might be use to choose a value from $attributes['http://schemas.microsoft.com/identity/claims/displayname'].

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

2 participants