Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeoauth2_client

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

pub.devRemove
serverpod_auth_server

Authentication server module for Serverpod backend applications.

pub.devRemove
ScoresHealth92 (best)79
Maintenance97 (best)95
Quality100 (best)81
Popularity77 (best)50
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)32k (best)16k
Likes201 (best)18
Pub points160 / 160 (best)150 / 160
GitHub stars53.3k (best)
MaintenanceLatest release5.0.0, yesterday (best)4.1.2, 7 days ago
Major versions in 12 months00
Contributors2695 (best)
Publisherfemtopedia.deserverpod.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesNo
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies6 (best)13
LicenseBSD-2-CLAUSEBSD-3-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • 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.
  • Integrated directly into the Serverpod ecosystem.
  • Supports modern authentication methods like passwordless OTP login.
Weaknesses
  • 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.
  • Tightly coupled to the Serverpod framework.
  • Not documented thoroughly outside of the core Serverpod docs.
WarningsNoneNone
oauth2_client vs serverpod_auth_server: which Flutter package should you use? | pubscout