Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehttp_auth

Dart http middleware for HTTP Basic and Digest authentication

pub.devRemove
oauth2

A client library for OAuth2 authentication and authorized HTTP requests.

pub.devRemove
ScoresHealth7083 (best)
Maintenance5261 (best)
Quality100100
Popularity6290 (best)
Community4580 (best)
Compatibility100100
UsageDownloads (30 days)11k603k (best)
Likes38382 (best)
Pub points160 / 160160 / 160
GitHub stars19123 (best)
MaintenanceLatest release1.0.5, 4 months ago (best)2.0.5, a year ago
Major versions in 12 months00
Contributors8100+ (best)
PublisherUnverifiedtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies3 (best)4
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • Supports both HTTP Basic and Digest authentication out of the box.
  • Offers automatic protocol detection via NegotiateAuthClient.
  • Integrates directly with the standard http package.
  • 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
  • Limited to HTTP Basic and Digest authentication methods.
  • Not documented for complex custom auth flows outside of Basic and Digest.
  • Requires manual platform-specific implementation for handling redirect URLs and launching browsers
  • Does not support all possible OAuth2 flows
Warnings
  • Unverified publisher
  • Quiet but busy
http_auth vs oauth2: which Flutter package should you use? | pubscout