Ramsai
Ramsai•12mo ago

Check if user has enabled MFA

Hi team, in custom login UI we have added an enable MFA option to your application. We want only the users who have enabled MFA to get a MFA screen while logging in, if MFA is disabled we directly login the users to our application. Could you please help me how to know whether if the user has MFA enabled or not. If we can know whether the user has MFA enabled or not , we can make a choice of displaying the MFA to the user while logging in. Is there any API to check for it , if yes please help me find it Thanks a lot.
2 Replies
fabienne
fabienne•12mo ago
with the following request you can find all the configured methods of a user: https://zitadel.com/docs/apis/resources/user_service_v2/user-service-list-authentication-method-types
ZITADEL Docs
List all possible authentication methods of a user like password, passwordless, (T)OTP and more..
Ramsai
RamsaiOP•12mo ago
Thanks @fabienne 🙂

Did you find this page helpful?