Skip to content

Commit

Permalink
#1223 Add department to the list of fields returned in the microsoft …
Browse files Browse the repository at this point in the history
…provider (#1228)
  • Loading branch information
PaddingtonBrown authored Jul 2, 2024
1 parent faa7f84 commit f907a17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Provider extends AbstractProvider
'businessPhones',
'givenName',
'jobTitle',
'department',
'mail',
'mobilePhone',
'officeLocation',
Expand Down Expand Up @@ -184,6 +185,7 @@ protected function mapUserToObject(array $user)
'displayName' => Arr::get($user, 'displayName'),
'givenName' => Arr::get($user, 'givenName'),
'jobTitle' => Arr::get($user, 'jobTitle'),
'department' => Arr::get($user, 'department'),
'mail' => Arr::get($user, 'mail'),
'mobilePhone' => Arr::get($user, 'mobilePhone'),
'officeLocation' => Arr::get($user, 'officeLocation'),
Expand Down

0 comments on commit f907a17

Please sign in to comment.