Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_web_auth

Authenticate users with web services and OAuth2 via native web authentication sessions.

pub.devRemove
oauth2

A client library for OAuth2 authentication and authorized HTTP requests.

pub.devRemove
ScoresHealth5083 (best)
Maintenance361 (best)
Quality87100 (best)
Popularity6090 (best)
Community4580 (best)
Compatibility85100 (best)
UsageDownloads (30 days)5.1k603k (best)
Likes223382 (best)
Pub points130 / 160160 / 160 (best)
GitHub stars212 (best)123
MaintenanceLatest release0.6.0, 2 years ago2.0.5, a year ago (best)
Major versions in 12 months00
Contributors18100+ (best)
PublisherUnverifiedtools.dart.dev
FitPlatformsAndroid, iOS, Web, macOSAll (pure Dart)
WASM-readyNoYes
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies0 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • Uses native platform authentication sessions (ASWebAuthenticationSession and Chrome Custom Tabs)
  • Supports iOS, Android, macOS, and Web platforms
  • Works well with standard OAuth2 providers
  • 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
  • Requires manual configuration of intent filters on Android and custom HTML landing pages on Web
  • Known minor issues with keyboard accessibility or Chrome default browser bugs on macOS
  • Requires manual platform-specific implementation for handling redirect URLs and launching browsers
  • Does not support all possible OAuth2 flows
Warnings
  • Native setup
  • Unverified publisher
  • Quiet but busy
flutter_web_auth vs oauth2: which Flutter package should you use? | pubscout