https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
e

elegant-sandwich-40072

12/23/2021, 8:37 AM
Hi, a login flow doesn't contain a button for account recovery, right? Is this something that is just expected to be implemented by the UI? To me it feels a bit weird adding this button manually, so I was wondering if it is supposed to be like that and if i could somehow add this button using the kratos config.
👀 1
i now implemented it the manual, but i'd really like to have a better and "official" way to show the button
to me it would make sense to show the button after a failed submit
the problem i see is that the ui needs to handle the redirect when clicking on the button
m

magnificent-energy-493

12/23/2021, 12:55 PM
Hey Kate, Yes the button would be implemented in the UI. You can check our reference implementation https://github.com/ory/kratos-selfservice-ui-node
You basically just need to send them to
self-service/recovery/browser.
When and how you show the button is completely up to you.
Let me know if that helped 🙂
e

elegant-sandwich-40072

12/23/2021, 1:08 PM
Thanks! I thought there might be a better way to do this
4 Views