Skip to content

Commit

Permalink
fix(ui_oauth_google): Pass the clientId into GoogleSignIn (#9823)
Browse files Browse the repository at this point in the history
  • Loading branch information
TamasBarta authored Nov 14, 2022
1 parent d920d49 commit 343e6ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/firebase_ui_oauth_google/lib/src/provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ class GoogleProvider extends OAuthProvider {
final String? redirectUri;
final List<String>? scopes;

late GoogleSignIn provider = GoogleSignIn(scopes: scopes ?? []);
late GoogleSignIn provider = GoogleSignIn(
scopes: scopes ?? [],
clientId: clientId,
);

@override
final GoogleAuthProvider firebaseAuthProvider = GoogleAuthProvider();
Expand Down

0 comments on commit 343e6ed

Please sign in to comment.