witty-actor-17128
10/23/2022, 7:21 AMbland-eye-99092
10/23/2022, 7:26 AMwitty-actor-17128
10/23/2022, 11:17 AMwitty-actor-17128
10/23/2022, 11:20 AMbland-eye-99092
10/24/2022, 8:48 AMsince we might not want them to have access to the rest of the app before resetting the password.That is an interesting use case! Thanks for that. I think, in the future we will refactor the recovery to include a step to reset credentials directly inside the flow (instead of re-using the settings flow) which would completely circumvent these issues.
However this is more of a security issue when a user already has TOTP set up. Lets say they wish to reset their password - the recovery link logs them in without requiring a 2FA.This can be configured:
selfservice:
flows:
settings:
required_aal: highest_available
This way we require the second factor before redirecting to the settings page. Unfortunately, there is currently a bug in there, that prevent the correct redirect after the second factor is completed: https://github.com/ory/kratos/issues/2832
That should be fixed soon, though.witty-actor-17128
10/24/2022, 11:38 AMwitty-actor-17128
10/24/2022, 11:41 AMbland-eye-99092
10/24/2022, 11:43 AM