Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecorsac_jwt

Lightweight implementation of JSON Web Tokens (JWT) for Dart and Flutter.

pub.devRemove
oauth2_client

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

pub.devRemove
ScoresHealth5892 (best)
Maintenance999 (best)
Quality81100 (best)
Popularity5877 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)22k31k (best)
Likes29201 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars43 (best)5
MaintenanceLatest release2.0.2, a year ago5.0.0, yesterday (best)
Major versions in 12 months00
Contributors826 (best)
Publishermemspace.appfemtopedia.de
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies4 (best)6
LicenseBSD-2-CLAUSEBSD-2-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • Supports multiple signing algorithms (HS256, RS256, ES256).
  • Lightweight and straightforward API for building, signing, and validating tokens.
  • 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
  • Relies on manual verification and claim validation logic compared to full authentication SDKs.
  • 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.
WarningsNoneNone
corsac_jwt vs oauth2_client: which Flutter package should you use? | pubscout