ancient-judge-84558
03/10/2023, 6:46 PMancient-judge-84558
03/10/2023, 7:04 PMdamp-salesclerk-26574
03/10/2023, 7:20 PMprivileged_session_max_age
to something really low so that actions like this that require a privileged session will ask the user to give their password/authenticate again if they haven’t just logged in.ancient-judge-84558
03/10/2023, 7:22 PMancient-judge-84558
03/11/2023, 10:08 PMimportant-fall-74969
03/13/2023, 9:53 AMThe login session is too old and thus not allowed to update these fields. Please re-authenticate
there is a redirect_browser_to
parameter defined in the flow with a URL to our selfservice login. The URL also has a query parameter to refresh the session (re-authenticate) as well as a return_to
URL so it returns to the settings flow/page. The redirect_browser_to
URL looks something like this <https://localhost/auth/self-service/login/browser?refresh=true&return_to=https%3A%2F%2Flocalhost%2Fauth%2Fself-service%2Fsettings%3Fflow%[uuid]>
.
The login flow that we get back once the redirect has happened re-authenticates the user and then takes them back to the settings flow. The login flow has a message defined that the user needs to re-authenicate to carry out the action.proud-plumber-24205
03/13/2023, 11:11 AMrefresh=true
query parameter.
This is only applicable when the user already has a session.
https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-advanced-integration#refreshing-user-sessionancient-judge-84558
03/14/2023, 11:22 AMancient-judge-84558
03/14/2023, 11:24 AMimportant-fall-74969
03/14/2023, 11:30 AMmagnificent-energy-493
ancient-judge-84558
03/16/2023, 4:59 PM