Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributegoogle_sign_in

Official Flutter plugin for authenticating users and requesting OAuth scopes via Google Sign-In.

pub.devRemove
oauth2_client

Interact with OAuth2 servers and handle token storage and refreshing in Flutter.

pub.devRemove
ScoresHealth8492 (best)
Maintenance5999 (best)
Quality96100 (best)
Popularity98 (best)77
Community8080
Compatibility100100
UsageDownloads (30 days)2.7M (best)31k
Likes3.6k (best)201
Pub points150 / 160160 / 160 (best)
GitHub stars5.3k (best)5
MaintenanceLatest release7.2.0, a year ago5.0.0, yesterday (best)
Major versions in 12 months00
Contributors100+ (best)26
Publisherflutter.devfemtopedia.de
FitPlatformsAndroid, iOS, Web, macOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPlugin (native code)Flutter widgets
Code generationNoNo
Direct dependencies4 (best)6
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • Official Flutter plugin supporting Android, iOS, macOS, and Web.
  • Decouples basic authentication from authorization, matching modern OAuth security standards.
  • Supports lightweight silent sign-in and streaming authentication state events.
  • Supports multiple OAuth2 flows (Authorization Code, Client Credentials, Implicit Grant).
  • Pre-defined clients for many popular providers (Google, Facebook, GitHub, Microsoft, etc.).
  • Helper class automates token refreshing and secure storage.
Weaknesses
  • Requires platform-specific setup and integration steps for each target OS.
  • Web platform has specific constraints, such as mandatory SDK-rendered buttons and non-refreshing access tokens.
  • Requires platform-specific configuration such as custom URI schemes and Android Manifest updates.
  • Tokens on the web platform are stored in localStorage which is unencrypted.
Warnings
  • Quiet but busy
  • Native setup
None
google_sign_in vs oauth2_client: which Flutter package should you use? | pubscout