I'm following a seemingly outdated documentation page at https://cloud.google.com/identity-platform/docs/web/mfa#choosing_an_enrollment_pattern When signing in with email + password, I'm expecting to catch error, and then do
if (error.code === "auth/multi-factor-auth-required") {
const resolver = error.resolver
But when I logged out the error object, there is no such property as error.resolver:
FirebaseError: Firebase: Error (auth/multi-factor-auth-required). resolver: undefined