desktop_webview_auth
0.0.16, released a year ago by invertase.io
Enables Firebase OAuth on desktop platforms via webview.
What it does
Provides OAuth sign-in flows for desktop apps using a webview. Supports providers such as Google, Facebook, Twitter, and GitHub.
AI-written summary of version 0.0.16, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Firebase OAuth authentication on Windows, macOS, or Linux desktop apps
- You want to handle Google, Facebook, or Twitter sign-ins via webview
Skip it when
- You only need mobile or web authentication and do not target desktop platforms
Strengths
- Brings OAuth support to desktop platforms where standard mobile auth plugins may not work
- Supports multiple providers including Google, Facebook, Twitter, and GitHub
Weaknesses
- Requires platform-specific configuration like WebKit2GTK on Linux or network entitlements on macOS
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 3
Requires macOS Release.entitlements network server key, and Linux WebKit2GTK development libraries.
final googleSignInArgs = GoogleSignInArgs(
clientId: 'CLIENT_ID',
redirectUri: 'REDIRECT_URI',
scope: 'email',
);
final result = await DesktopWebviewAuth.signIn(googleSignInArgs);Alternatives
Packages that do the same job and could replace desktop_webview_auth.
- firebase_ui_oauth
Firebase UI OAuth widgets for authentication with social providers
84Compare - firebase_ui_oauth_google
Flutter widgets for Google OAuth sign‑in using Firebase UI.
81Compare - firebase_ui_oauth_apple
Firebase UI widgets for Sign in with Apple authentication.
77Compare - firebase_auth_web
Web implementation of Firebase Authentication for Flutter
85Compare
Works with
Packages commonly used together with desktop_webview_auth: ones it builds on, ones built on it, and its own family.