Skip to content
pubscout

desktop_webview_auth

0.0.16, released a year ago by invertase.io

Enables Firebase OAuth on desktop platforms via webview.

Repository archived
$ flutter pub add desktop_webview_auth
Source repository

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.

Works with

Packages commonly used together with desktop_webview_auth: ones it builds on, ones built on it, and its own family.