<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>Am 25.06.2026 um 14:26 schrieb Gianluca Bisi <gbisi@rakkau.com>:</div><br class="Apple-interchange-newline"><div><span style="caret-color: rgb(0, 0, 0); font-family: HelveticaNeue; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">We would like to know if it is possible to use a different midPoint attribute for OIDC authentication instead of the default name field.</span></div></blockquote></div><br><div>I do not think that is possible right now. </div><div><br></div><div>But if your Midpoint instance provisions Keycloak, you might be able to write the focus name to a custom Keycloak attribute, map that to a token claim in Keycloak and use <font face="Consolas"><nameOfUsernameAttribute>…</font> in the Midpoint auth config to use that claim instead of <font face="Consolas">preferred_username</font>… have not tried it yet, it's on the list, though.</div></body></html>