From 80812c1d480c98a83c4ec0bb5d1691b11cab0472 Mon Sep 17 00:00:00 2001 From: topnyq Date: Fri, 12 Jan 2024 10:42:13 +0200 Subject: [PATCH] Fixed mfa resolver always using default auth instance to finalize --- FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m b/FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m index 904a41e3a39..c478907bdf6 100644 --- a/FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m +++ b/FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m @@ -85,7 +85,7 @@ - (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion completion(nil, error); } } else { - [FIRAuth.auth + [self->auth completeSignInWithAccessToken:response.IDToken accessTokenExpirationDate:nil refreshToken:response.refreshToken @@ -97,7 +97,7 @@ - (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion initWithUser:user additionalUserInfo:nil]; FIRAuthDataResultCallback - decoratedCallback = [FIRAuth.auth + decoratedCallback = [self->auth signInFlowAuthDataResultCallbackByDecoratingCallback: completion]; decoratedCallback(result, error);