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

Support Azure AD extensionAttributes #130

Closed Robbilie closed 2 years ago

Robbilie commented 2 years ago

When using Azure AD with ADFS you have a set of so called extensionAttributes, 15 to be exact, which you can set. We use it to allow users to set their GitHub Username in such an attribute. These attributes can be retrieved using the onPremisesExtensionAttributes from the graph api but are not selectable or filterable. Thus in case of an extensionAttribute the get user info method for azure ad needs to be adjusted.