Open plammens opened 2 months ago
Note: this seems to be because while mobileSignIn
uses provider.signIn()
directly,
instead desktopSignIn
delegates to the super implementation, which is generic, from firebase_ui_oauth
, and doesn't seem to interact with GoogleSignIn
at any time:
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI OAuth Google
What platform(s) does this bug affect?
Web
List of dependencies used.
flutter pub deps -s list
Steps to reproduce
Configure a
GoogleProvider
:Watch the Google user somewhere in the code:
Run with Flutter on web.
Sign in with a Google account.
Expected Behavior
The value of
googleAuth.provider.current_user
is updated with the signed in user. (This works on mobile.)Actual Behavior
The
googleAuth.provider.current_user
is not updated and remainsnull
.Additional Information
I want to have access to an instance of
GoogleSignIn
with thecurrent_user
updated to the current Google user signed in through the UI auth package. I need this to connect to the Google Calendar API, because I don't want to make the user sign in with Google again if they have already signed in with Google as an authentication method for the whole app.