corbado_auth
3.8.8, released 14 days ago by corbado.com
Flutter SDK for passkey authentication via Corbado
What it does
Provides APIs to sign up, log in, and manage sessions using passkeys on Android, iOS, and Web. Includes fallback email OTP and diagnostics.
AI-written summary of version 3.8.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need passkey-based authentication without building your own backend
- You want a single SDK that handles session management and token refresh
- You target Android, iOS, or Web platforms
Skip it when
- You only need simple email/password auth
- You require a different authentication provider like Firebase Auth
Strengths
- Supports native passkeys on Android/iOS/Web
- Built-in session management and token refresh
- Diagnostic tool (Corbado Doctor) for setup validation
Weaknesses
- Requires Corbado backend, not a generic auth provider
- No support for Linux, macOS, Windows
- Relies on Flutter 3.41+ and Dart 3.11+
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- Yes (build_runner)
- Direct dependencies
- 13
Add package to pubspec, run flutter pub get, initialize CorbadoAuth with projectId and optional debugMode. No build_runner needed.
final corbadoAuth = CorbadoAuth();
await corbadoAuth.init(projectId: "YOUR_PROJECT_ID", debugMode: true);Alternatives
Packages that do the same job and could replace corbado_auth.
- firebase_auth
Flutter plugin for Firebase Authentication enabling passwords, phone numbers, and identity providers.
99Compare - firebase_auth_web
Web implementation of Firebase Authentication for Flutter
85Compare - local_auth_android
Android implementation of the local_auth plugin for biometric authentication.
83Compare - local_auth_darwin
iOS/macOS implementation of the local_auth plugin
83Compare
Works with
Packages commonly used together with corbado_auth: ones it builds on, ones built on it, and its own family.
- json_annotationcorbado_auth depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- built_collectioncorbado_auth depends on itImmutable collections based on SDK collections with builder pattern.
- rxdartcorbado_auth depends on itImplementation of the ReactiveX API for asynchronous programming leveraging native Dart Streams.
- flutter_secure_storagecorbado_auth depends on itSecure key-value storage using platform-specific secure mechanisms
- diocorbado_auth depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- jwt_decodercorbado_auth depends on itDecode Json Web Tokens and check expiration status without a password.
- universal_htmlcorbado_auth depends on itCross‑platform replacement for dart:html with DOM parsing, XML support, and EventSource.
- passkeyscorbado_auth depends on itFlutter plugin enabling passkey authentication based on WebAuthn and FIDO2.