Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributegoogleapis_auth

Obtain Access credentials and authenticated HTTP clients for Google APIs using OAuth 2.0.

pub.devRemove
oauth2

A client library for OAuth2 authentication and authorized HTTP requests.

pub.devRemove
ScoresHealth91 (best)83
Maintenance95 (best)61
Quality81100 (best)
Popularity94 (best)90
Community8080
Compatibility100100
UsageDownloads (30 days)2.2M (best)603k
Likes244382 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars421 (best)123
MaintenanceLatest release2.3.7, 2 weeks ago (best)2.0.5, a year ago
Major versions in 12 months00
Contributors33100+ (best)
Publishergoogle.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies64 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • Supports multiple credential types like Service Accounts, API keys, and Application Default Credentials.
  • Automatically refreshes OAuth 2.0 credentials.
  • Supports multiple OAuth2 grant types including Authorization Code with PKCE, Client Credentials, and Resource Owner Password
  • Handles automatic saving and refreshing of credentials
  • Integrates seamlessly with the standard package:http client
Weaknesses
  • Not recommended for use inside Flutter apps due to dedicated platform packages.
  • Requires manual GCP console configuration and credential file setup.
  • Requires manual platform-specific implementation for handling redirect URLs and launching browsers
  • Does not support all possible OAuth2 flows
WarningsNone
  • Quiet but busy
googleapis_auth vs oauth2: which Flutter package should you use? | pubscout