We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4ae9a commit 0c11355Copy full SHA for 0c11355
packages-exp/auth-exp/src/mfa/mfa_error.ts
@@ -46,8 +46,9 @@ export class MultiFactorError
46
Object.setPrototypeOf(this, MultiFactorError.prototype);
47
this.appName = auth.name;
48
this.code = error.code;
49
- this.tenantid = auth.tenantId;
50
- this.serverResponse = error.serverResponse as IdTokenMfaResponse;
+ this.tenantId = auth.tenantId ?? undefined;
+ this.serverResponse = error.customData!
51
+ .serverResponse as IdTokenMfaResponse;
52
}
53
54
static _fromErrorAndCredential(
0 commit comments