Closed as not planned
Closed as not planned
Description
When trying to enroll MFA :
const user = await firstValueFrom(this.authenticationService.getFirebaseUser());
if (!user) {
throw 'User needs to be logged in to finish MFA setup.';
}
const assertion = TotpMultiFactorGenerator.assertionForEnrollment(
this.currentTotpSecret,
verificationCode.trim()
);
await multiFactor(user).enroll(assertion);
Angular v17.3.12
@angular/fire v17.1.0
Metadata
Metadata
Assignees
Labels
No labels