<div dir="ltr"><div><p>Hi everyone,</p><p>We are currently working on integrating midPoint v4.8 with Microsoft Entra ID using the OIDC authentication module.</p><p>During our implementation, we ran into a structural constraint: it appears that midPoint’s OIDC (and SAML2) authentication modules strictly use the incoming claim to match against the user's <b><code>name</code> </b>attribute (the core username field) in midPoint.</p><p>We looked into alternative mechanisms such as <code>attributeVerification</code> or <code>focusIdentification</code> modules, but according to our analysis and documentation, these flexible authentication components seem to only apply to password-reset or user-recovery flows.</p><p>In our specific use case, we need to map the incoming OIDC claim to a different unique attribute within midPoint instead of the default <code>name</code> field.</p><p>Has anyone encountered this specific requirement before? If so, how did you resolve or work around it? Is there an advanced or hidden configuration within the security policy that allows matching external IdP claims against custom or alternative user attributes?</p><p>Any insights, workarounds, or documentation pointers would be greatly appreciated.</p><p>Best regards,</p></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><div dir="ltr"><div dir="ltr"><font><div style="color:rgb(80,0,80)"><b><font face="tahoma, sans-serif" color="#666666">Gianluca Bisi</font></b></div><div style="color:rgb(80,0,80)"><font color="#999999" face="tahoma, sans-serif">Developer | Rakkau</font></div><div style="color:rgb(80,0,80)"><font color="#999999" face="tahoma, sans-serif"><a href="mailto:gbisi@rakkau.com" target="_blank">gbisi@rakkau.com</a></font></div><div style="color:rgb(80,0,80)"><font color="#999999" face="tahoma, sans-serif"><a href="http://www.rakkau.com" target="_blank">www.rakkau.com</a></font></div></font></div></div></div><div style="margin:2px 0px 0px;color:rgb(80,0,80)"></div></div></div></div></div></div>