3rd-party-integrations / github-team-sync

Sync GitHub teams to groups in Active Directory, LDAP, Okta, OneLogin or AzureAD when using any authentication method for GitHub.
MIT License
201 stars 67 forks source link

Casefold both compared user attributes #122

Closed kristian-lesko closed 2 years ago

kristian-lesko commented 2 years ago

Though user logins fetched from GitHub were already casefolded, logins coming from directory can still contain case.

Move the casefold to comparison method to improve the chances of login match.