stale-gigabyte-65966
06/21/2023, 2:23 PMchilly-king-10285
06/21/2023, 2:23 PMchilly-king-10285
06/21/2023, 2:23 PMprivileged_session_max_age
value, the user is prompted to re-authenticate, similar to [GitHub's sudo mode](https://help.github.com/en/github/authenticating-to-github/sudo-mode). To update the settings flow after reconnection to have a privileged session, you need to redirect the user to the login init endpoint with query parameters ?refresh=true&return_to=<the-current-browser-url>
, or initiate a refresh login flow otherwise. This process is mentioned in the [Complete Settings Flow](https://www.ory.sh/docs/kratos/reference/api#frontend) documentation under the session_refresh_required
error. Once the user has re-authenticated and obtained a privileged session, they can proceed with updating the privileged fields in the settings flow.stale-gigabyte-65966
06/21/2023, 3:16 PMchilly-king-10285
06/21/2023, 3:16 PMchilly-king-10285
06/21/2023, 3:17 PM