Hi everyone, What is the intended way for users to...
# talk-kratos
l
Hi everyone, What is the intended way for users to reset their MFA when its managed by kratos? If I set settings
required_aal
to
aal1
it effectively allows attacker with user credentials to regenerate their MFA But if I set it to
highest_available
then user’s can’t reset their own MFA during account recovery flow Am I missing something? Is there maybe an admin API for managing user’s MFA settings?
d
Yes, there’s an admin API for removing 2fa credentials from an identity: https://www.ory.sh/docs/reference/api#tag/identity/operation/deleteIdentityCredentials
2fa is supposed to be hard to reset, which is why services encourage recovery codes, etc. But yeah there’s an admin API if you have a (business) workflow that can verify someone as the owner of an account, for example
l
@dazzling-napkin-4938 Is this API endpoint available for self-service Kratos releases?
d
hmm good point, looks like it’s not available yet in the January self hosted release
s
release is already in progress
d
fantastic