Skip to content

Commit

Permalink
Merge pull request #10 from Wisembly/change-azure-nickname-path
Browse files Browse the repository at this point in the history
use userPrincipalName for nickname
  • Loading branch information
krichprollsch authored Nov 9, 2016
2 parents 8ff62f2 + 44800c3 commit 589f898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OAuth/ResourceOwner/AzureV2ResourceOwner.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AzureV2ResourceOwner extends GenericOAuth2ResourceOwner
protected $paths = array(
'identifier' => 'id',
'email' => 'mail',
'nickname' => 'mail',
'nickname' => 'userPrincipalName',
'realname' => 'displayName',
'firstName' => 'givenName',
'lastName' => 'surname'
Expand Down

0 comments on commit 589f898

Please sign in to comment.