-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from github/primetheus/aad-upn-map
Azure AD UPN mapping
- Loading branch information
Showing
4 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,15 @@ AZURE_APP_SCOPE=".default" | |
AZURE_API_ENDPOINT="https://graph.microsoft.com/v1.0" | ||
## Custom attribute for usernames | ||
AZURE_USERNAME_ATTRIBUTE=userPrincipalName | ||
## If we don't have a custom username attribute, we'll | ||
## need to make sure the username matches what's in | ||
## GitHub. This will take the UPN and split the | ||
## string on "@", making [email protected] just "user" | ||
## in order to match GitHub. | ||
## This should not be necessary if you add a new | ||
## attribute for user mapping | ||
## Default: false | ||
#AZURE_USER_IS_UPN=true | ||
|
||
######################### | ||
## Additional settings ## | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters