adamant-sunset-82991
08/09/2024, 9:28 AMchilly-king-10285
08/09/2024, 9:28 AMchilly-king-10285
08/09/2024, 9:28 AMaal
parameter set to aal2
and specify which trait to use for delivering the code to the user. This trait should exist in the identity schema and you set the via
parameter to its identifier. If you have a trait called phone_number
, you'd set via
to phone_number
[source](https://www.ory.sh/docs/kratos/mfa/mfa-via-sms#integration). For TOTP, users generate these passwords with companion apps such as Google Authenticator or FreeOTP and enter them when asked to provide their second authentication factor. You can enable TOTP authentication in Ory Identities (Kratos) to allow users to perform 2FA with TOTP apps [source](https://www.ory.sh/docs/kratos/mfa/totp). However, if you want to implement MFA via email, you might need to customize your implementation or check if there are more recent updates in the Ory documentation that cover this use case.