redhat-cop / redhat-cop/group-sync-operator
Only one field syncing with Azure AD
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 132
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm facing a similar issue as in https://github.com/redhat-cop/group-sync-operator/issues/55 . I have set an Azure sync with the following config:
userNameAttributes:
- mail
- userPrincipalName
Now if the user has nothing set as their email address, the user will be synced as <nil>. I think in this case the user's userPrincipalName should be used instead - at least this is what I would like it to do. If I flip the parameters the other way around, their userPrincipalName will be synced correctly, but then the email is always discarded.
Any ideas? Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Azure sync with userNameAttributes set to mail and userPrincipalName, then trace the Azure AD handling in the Go operator. Done means a missing mail value falls back to userPrincipalName without discarding mail when it is present; add or update coverage for both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go
- Domain
- authorization, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100