firebase_ui_oauth_google
3.0.0, released 5 days ago by firebase.google.com
Flutter widgets for Google OAuth sign‑in using Firebase UI.
What it does
Provides ready‑made UI components that handle the Google sign‑in flow integrated with Firebase Authentication. It abstracts the google_sign_in 7 API and updates Firebase dependencies automatically.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick, out‑of‑the‑box Google sign‑in UI for a Firebase‑backed app
- You want consistent look‑and‑feel with other Firebase UI widgets
Skip it when
- You require a fully custom sign‑in UI
- You need to support Google sign‑in on platforms not listed (e.g., desktop without web fallback)
Strengths
- Minimal boilerplate for Google OAuth
- Keeps dependencies aligned with latest FlutterFire releases
- Works across Android, iOS, Web, macOS
Weaknesses
- Breaks on major version upgrades (see 3.0.0 notes)
- Limited customization beyond provided widgets
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 3
Add google_sign_in 7 and firebase_auth to pubspec, configure Google OAuth client IDs for each platform, and ensure Firebase initialization (firebase_core) is done before use
Alternatives
Packages that do the same job and could replace firebase_ui_oauth_google.
- flutter_web_auth_2
Flutter plugin for authenticating a user with a web service.
93Compare - oauth2_client
Interact with OAuth2 servers and handle token storage and refreshing in Flutter.
92Compare - oidc
OpenID Connect RP plugin for Flutter supporting all platforms.
82Compare - firebase_auth_rest
Pure Dart wrapper for Firebase Authentication REST API, works on all Dart platforms.
77Compare
Works with
Packages commonly used together with firebase_ui_oauth_google: ones it builds on, ones built on it, and its own family.
- google_sign_infirebase_ui_oauth_google depends on itOfficial Flutter plugin for authenticating users and requesting OAuth scopes via Google Sign-In.
- firebase_authfirebase_ui_oauth_google depends on itFlutter plugin for Firebase Authentication enabling passwords, phone numbers, and identity providers.
- firebase_ui_oauthfirebase_ui_oauth_google depends on itFirebase UI OAuth widgets for authentication with social providers
- firebase_coreSame familyFlutter plugin that initializes Firebase and allows multiple Firebase app connections.
- firebase_core_webSame familyWeb implementation of firebase_core for Flutter apps.
- firebase_messagingSame familyFlutter plugin for Firebase Cloud Messaging to deliver messages on Android, iOS, web, and macOS.
- firebase_messaging_webSame familyWeb implementation of Firebase Cloud Messaging for push notifications.
- firebase_analyticsSame familyFlutter plugin for Google Analytics for Firebase.