Skip to content

N°10350 - MicrosoftGraph Adaptor : Use userPrincipalName instead of email for user reconciliation during OpenID authentication - #11

Merged
eespie merged 3 commits into
masterfrom
issue/10350-msgraph-email-reconcil
Nov 30, 2026
Merged

eespie merged 3 commits into
masterfrom
issue/10350-msgraph-email-reconcil

Conversation

@odain-cbd

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request due to rate limiting. Please try again later. See Usage limits for GitHub Copilot for details.

@Molkobain

Copy link
Copy Markdown
Member

@odain-cbd you mistook assignees / reviewers I think

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The normal login flow can fail with a TypeError from an undefined login mode, and debug output during email resolution can prevent the authentication redirect.

2 open issues

Review effort: Balanced

$oUserProfile = $oAuthAdapter->getUserProfile();
$sAuthUser = $oUserProfile->data['login'] ?? $oUserProfile->email;
$oHybridAuthProvisioning = new HybridAuthProvisioning();
$sAuthUser = $oHybridAuthProvisioning->GetLogin($sLoginMode, $oUserProfile);
Comment thread src/Service/ProvisioningService.php Resolved
@odain-cbd odain-cbd assigned odain-cbd and unassigned eespie Nov 27, 2026
@odain-cbd
odain-cbd requested a review from eespie November 27, 2026 08:38
@eespie
eespie merged commit ebcf272 into master Nov 30, 2026
2 checks passed
@eespie
eespie deleted the issue/10350-msgraph-email-reconcil branch December 1, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants