<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><blockquote type="cite"><div>Am 25.06.2026 um 10:55 schrieb Markus Calmius via midPoint <midpoint@lists.evolveum.com>:</div><div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">our keycloak config contains this:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><code><span><span><</span><span>nameOfUsernameAttribute</span><span>></span></span><span><code>email</code></span><span><span></</span><span>nameOfUsernameAttribute</span><span>></span></span></code></div></div></blockquote><br></div><div>I ran into the same question as Gianluca and my understanding is that <font face="Consolas"><nameOfUsernameAttribute>email</nameOfUsernameAttribute></font> means: "read the email claim from Keycloak, then look up the midPoint user whose name equals that email." If name isn't the email, it matches nobody. It does not search against an "email" property in midPoint.</div></body></html>