Using TwoFactorLogin and expose TwoFactorId
-
I am using TwoFactorLogin in API. Then I need code from user and TwoFactorId. Is it correct to expose twoFactorId in frontend part (angular by example) or twoFactorId has to be stored in back ?
-
@didier I'm not 100% sure what you mean by "expose twoFactorId in frontend part". I'm assuming you mean give the user a way to input the code. So yes, you will have to allow them a method to input their code and then complete the login. Please see here for more information.