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

Add mapping for unique user attribute #70

Open
conanedogawa2 opened this issue Oct 6, 2019 · 5 comments
Open

Add mapping for unique user attribute #70

conanedogawa2 opened this issue Oct 6, 2019 · 5 comments
Assignees
Milestone

Comments

@conanedogawa2
Copy link

Is your feature request related to a problem? Please describe.
Our cas serveur allow two entries for login
Uid and UserPincipalName respectivly "jdoe" [email protected]"
When login to owncloud using the two different methode two differents account are created despite the fact this is the same user.

Describe the solution you'd like
You could add a mapping for the attribute responsible for identification of a user with default value what cas provide for the login used to connect. This way i think you won't break anything for previous installations.

Thanks !

@conanedogawa2
Copy link
Author

conanedogawa2 commented Oct 8, 2019

Hi again,
Since CAS provide a way to override the Principal ID in the service json registry this way :

 "usernameAttributeProvider" : {
    "@class" : "org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider",
    "usernameAttribute" : "samaccountname",
    "canonicalizationMode" : "LOWER"
  }

It's a viable way to do this so i'm closing the Feature request.
But Cas with Omniauth provide a way to do this, it may be a good idea to implement it.

@felixrupp felixrupp added this to the 1.9 milestone Oct 9, 2019
@felixrupp
Copy link
Owner

Hi @conanedogawa2

thanks for your input, I’ll reopen your issue and put it on my list.

Regards,
Felix

@felixrupp felixrupp reopened this Oct 9, 2019
@felixrupp felixrupp self-assigned this Oct 9, 2019
@felixrupp
Copy link
Owner

/cib

@create-issue-branch
Copy link

Branch issue-70-Add_mapping_for_unique_user_attribute created!

@felixrupp
Copy link
Owner

Added with Version 1.9. Please review the function and close the ticket afterwards. Thanks!

@felixrupp felixrupp assigned conanedogawa2 and unassigned felixrupp Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants