is there a way to change ID to Email on login with...
# ory-network
e
is there a way to change ID to Email on login without self implementing the page?
p
Hi @enough-wolf-68091 Currently no, this will require you to have your own UI.
d
This happens with
@ory/elements
too, and I believe it could be classified as a bug. The identifier field can have a title set, but the UI does not respect it. At the least, this is inconsistent behaviour.
m
https://github.com/ory/kratos/issues/3041 Hello check out this issue and the workaround, maybe it will fix it for you until we improve this 🙂
p
Although I agree that we should use the title, the problem with this is when the Identity schema has multiple trait credentials. e.g. username and email. Which one should the UI show? since both can be used to login with?
d
One proposed solution, which is an improvement to the current situation, is to return the singular title if there is only one possible, and use the current behaviour as a fallback. Further improvement from that would be to allow configuration of the returned fallback.
Looks like the case when there is only one identifier is in your backlog. Good to know!
e
Thanks for the update. Yes, in our case it is only Email. Do you have an ETA for implementing the proposed solution?
m
Hey, yes we have it on the roadmap to improve this behaviour soon. We cant provide an exact date at the moment, but watch the changelog: https://www.ory.sh/changelog.