Recently I noticed that microsoft.name is a duplicated value of microsoft.displayName. Thus I doubt the necessity of line 51-56 in lib/Auth/Source/MicrosoftHybridAuth.php.
After some research, I found out the email and name value in token seems to be duplicate of microsoft.mail and microsoft.displayName. Plus, the original microsoft.mail field got overwritten in this way, so I think it's better to simply remove these lines.
Recently I noticed that
microsoft.nameis a duplicated value ofmicrosoft.displayName. Thus I doubt the necessity of line 51-56 inlib/Auth/Source/MicrosoftHybridAuth.php.After some research, I found out the
emailandnamevalue in token seems to be duplicate ofmicrosoft.mailandmicrosoft.displayName. Plus, the originalmicrosoft.mailfield got overwritten in this way, so I think it's better to simply remove these lines.