🐛 GoogleProvider.provider.current_user is not updated on desktop #381
Labels
auth
Needs Attention
OP created or responded to issue and it needs attention.
platform: web
Issues / PRs which are specifically for web
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
dev dependencies:
dependency overrides:
transitive dependencies:
Steps to reproduce
Configure a
GoogleProvider
:Watch the Google user somewhere in the code:
googleAuth.provider.onCurrentUserChanged.map(print)
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.
The text was updated successfully, but these errors were encountered: