Flutter authentication that just drops in
voo_authstack_client is the typed Dart client for AuthStack — OAuth 2.0, JWT refresh, SSO providers, WebAuthn passkeys, and TOTP MFA in a single package. Works on Flutter web, iOS, Android, macOS, Windows, and Linux. Open-source, MIT-licensed, on pub.dev.
# 1. Add the package
flutter pub add voo_authstack_client
# 2. Initialize once at app boot
final auth = VooAuthstackService(
config: VooAuthstackConfig(
baseUrl: 'https://api.authstack.voostack.com',
),
);
await auth.initialize();
# 3. Sign in (email + password)
final result = await auth.loginWithEmail(
email: 'user@example.com',
password: '••••••••',
);
# 4. Or hand off to hosted OAuth/passkey UI
final authUrl = await auth.getProviderAuthUrl(
provider: OAuthProvider.github,
redirectUri: 'https://yourapp.com/callback',
);
// → launch authUrl in a webview, exchange the code, you're in. Why teams pick AuthStack over Firebase Auth or Auth0 for Flutter
Typed Dart, not bridged JS
voo_authstack_client is a first-party Dart package. No platform channels, no JS interop, no FlutterFire setup. Same code on Flutter web and native.
Usage-based, not per-MAU-tier
1,000 monthly active users free, then $0.005/MAU. Auth0's Flutter SDK starts at $35/month and locks WebAuthn behind their B2C plan. We don't tier features.
Passkeys + MFA out of the box
WebAuthn / FIDO2 passkeys and TOTP 2FA are in the free tier. Touch ID, Face ID, Windows Hello, and hardware keys work the same way on every Flutter platform.
Hosted auth pages, branded per app
Skip building your own forms. We host the sign-in / signup / password-reset pages with your logo, primary color, and email templates — your end-users never see "AuthStack".
OAuth providers without OAuth setup
Google, GitHub, Microsoft, Apple, Discord — we manage the OAuth app registrations and credentials. You toggle providers in the dashboard, they appear in the SDK.
Open source SDK
Source on GitHub. MIT-licensed. Audit it, fork it, replace it — your call. The backend is the only thing we run for you.
Get started with the Flutter SDK
The integration guide walks through the full OAuth code-grant flow, token refresh, passkey enrollment, and the end-user account surface (profile, sessions, MFA).