Hi! Regarding settings flow (Browser): I have two ...
# talk-kratos
p
Hi! Regarding settings flow (Browser): I have two URLs to change settings:
/identity/password
and
/identity/name
. Both render forms and POST to the Kratos flow given action URL. If I set a
flows.settings.ui_url
, I'm always redirected to that URL after settings flow finished with the flow-id as query param. Thats good to render the form again with a message about success/error. But that is the static URL from the kratos config. What I need is rendering one of the URLs
/identity/password
or
/identity/name
. If I also set
redirect_to=
when requesting the flow, the flow-id is not added by Kratos and I cannot render the result. What can I do? I have no dedicated "Success"-page where I can redirect to. I expected either flows
RedirectTo
attribute is also added the flow-id to or haveing the
flows.settings.ui_url
kratos config parameter optional and if it's missing, use the URL the request came from as redirect target.
b
Interesting case! I don’t think that is supported right now, though. We expect the settings page to always be at the same page, not two different pages. Feel free to file an issue in ory/kratos and we will happily take a look.