# Feature request - Set custom email attribute for SendResetPassowrd flow

**URL:** <https://forum.keycloak.org/t/feature-request-set-custom-email-attribute-for-sendresetpassowrd-flow/31379>\
**Category:** Miscellanaeous\
**Created:** [May 23, 2026, 8:53am UTC](https://forum.keycloak.org/t/feature-request-set-custom-email-attribute-for-sendresetpassowrd-flow/31379 "2026-05-23T08:53:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![muppeth](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/muppeth/32/11724_2.png) [@muppeth](https://forum.keycloak.org/u/muppeth)\
**Post date:** [May 23, 2026, 8:53am UTC](https://forum.keycloak.org/t/feature-request-set-custom-email-attribute-for-sendresetpassowrd-flow/31379/1 "2026-05-23T08:53:24Z")

</div>

Our platform offers email addresses to their users and stores those in email attribue on ldap and soon planned on Keycloak where we are migrating to. However if a user issues password reset for example, the rest code/link is sent over to the `email` attribute which obviously the user cannot access. creating a custom attribute like `platform_email` is also not a solution because Keycloak uses `email` attribute as a primary source of communication with the user. So any kind of verification is sent to `email` while it should be sent to `platform_email` as a primary source.

As a platform administrator I would like to suggest that realm admin could select which attribute to be used for actions such as “Send Reset Email” or “Verify existing account by Email” flow. It would make keycloak more flexible out of the box for scenarios such as described above without the need to custom build flows just to change one attribute.

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [May 23, 2026, 5:49pm UTC](https://forum.keycloak.org/t/feature-request-set-custom-email-attribute-for-sendresetpassowrd-flow/31379/2 "2026-05-23T17:49:52Z")

</div>

Please be aware that this is a community forum. If you have an idea for a new feature, please ipen a discussion or issue in the Github repo at [GitHub - keycloak/keycloak: Open Source Identity and Access Management For Modern Applications and Services · GitHub](https://github.com/keycloak/keycloak)

---

<div class="post-metadata">

**Author:** ![muppeth](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/muppeth/32/11724_2.png) [@muppeth](https://forum.keycloak.org/u/muppeth)\
**Post date:** [May 29, 2026, 7:32am UTC](https://forum.keycloak.org/t/feature-request-set-custom-email-attribute-for-sendresetpassowrd-flow/31379/3 "2026-05-29T07:32:01Z")

</div>

Thanks. I wasn’t sure if I should post here first to make sure it has not been discussed/solved before I create a feature request on github.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/keycloak/original/1X/eb342909d95cf32cbb7517610022c6a0046a9ffb.png) [@system](https://forum.keycloak.org/u/system)\
**Post date:** [May 31, 2026, 7:32am UTC](https://forum.keycloak.org/t/feature-request-set-custom-email-attribute-for-sendresetpassowrd-flow/31379/4 "2026-05-31T07:32:38Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
