Skip to content

Commit

Permalink
fix(auth, android): signInWithProvider() for non-default instances (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitsangwan01 authored Nov 19, 2024
1 parent 95a9935 commit f25e21c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ public void signInWithProvider(
result) {
FirebaseAuth firebaseAuth = getAuthFromPigeon(app);

OAuthProvider.Builder provider = OAuthProvider.newBuilder(signInProvider.getProviderId());
OAuthProvider.Builder provider =
OAuthProvider.newBuilder(signInProvider.getProviderId(), firebaseAuth);
if (signInProvider.getScopes() != null) {
provider.setScopes(signInProvider.getScopes());
}
Expand Down

0 comments on commit f25e21c

Please sign in to comment.