PackageTrack
Sign in Get early access

awesome_node_auth_flutter

A Flutter/Dart authentication client for the awesome-node-auth backend. Supports web (including WASM) via cookie + CSRF and native platforms via Bearer token.

1.10.0 nik2208/awesome-node-auth-flutter

What this package is like to depend on

Last release 3 months ago

20 May 2026

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

3 months old

7 releases · first in 2026

7 releases in the last 12 months

see the full history below

Release timeline

7 releases · Apr 2026 to May 2026
Release Pre-release

Releases

latest 7
  1. 1.10.0 20 May 2026
    Release notes

    What's Changed

    • Align client auth events and retry exclusions with awesome-node-auth v1.10 by @Copilot in #18
    • feat: v1.10 parity — cleanupSessions, OAuth helpers, docs alignment by @Copilot in #20

    Full Changelog: v1.9.4...v1.10.0

    Open source →
    Release notes

    Added

    • cleanupSessions() — calls POST /auth/sessions/cleanup to prune expired/invalid sessions from the server store (closes section 7 of the v1.10 parity audit).
    • getOAuthUrl(String provider) — returns the full OAuth redirect URL for a given provider (e.g. 'github', 'google'). Use this to initiate a redirect-based OAuth flow on web or open the URL in a webview/system browser on native.
    • handleOAuthCallback() — picks up the authenticated session after a successful OAuth callback. Internally calls checkSession() and, on success, emits an AuthEventType.loggedIn event.

    Changed

    • Version bumped to 1.10.0 to align with awesome-node-auth backend v1.10.

    Notes

    • Section 15 (UI widgets): this library is intentionally headless — no pre-built Flutter widgets are provided. Build your own UI against the AuthClient API and auth.state.userStream.
    • Background token refresh on app resume: the library does not hook into the Flutter app lifecycle automatically. Add a call to auth.checkSession() inside your AppLifecycleListener.onResume (or WidgetsBindingObserver.didChangeAppLifecycleState) to restore the session after the app returns to the foreground.
    • Deep-link handling (native): wire your platform deep-link handler (Android intent-filter / iOS CFBundleURLTypes) to call auth.verifyMagicLink(token), auth.resetPassword(password, token), or auth.verifyEmail(token) as appropriate. For OAuth callbacks, call auth.handleOAuthCallback() once the redirect is complete.
    Open source →
  2. 1.9.4 29 Apr 2026
    Release notes
    • Doc fix: clarify that requestConflictLinkingEmail is a semantic alias of requestLinkingEmail with identical payload, and that the backend infers the context from the presence or absence of a valid auth token in the request. The isConflict field is no longer sent in the request body, but if your backend version supports it, it is safely ignored if unused.
    Open source →
  3. 1.9.3 28 Apr 2026
    Release notes

    Fixed auth/httpClient wrapper

    Open source →
    Release notes
    • Fixed auth/httpClient wrapper
    Open source →
  4. 1.9.2 28 Apr 2026
    Release notes
    • Added example project with a simple Node.js backend and Flutter frontend demonstrating usage of the package.
    Open source →
  5. 1.9.1 28 Apr 2026
    Release notes
    • README updated to give comprehensive usage instructions.
    Open source →
  6. 1.9.0 28 Apr 2026
    Release notes
    • version bump to 1.9.0, aligned with awesome-node-auth backend v1.9.0
    Open source →
  7. 1.8.5 28 Apr 2026
    Release notes
    • Initial public release, aligned with awesome-node-auth backend v1.8.5.
    • Web (WASM-compatible) cookie + CSRF authentication via HttpOnly cookies and X-CSRF-Token header, same-origin only.
    • Native (iOS, Android, Desktop) Bearer token authentication with pluggable TokenStorage.
    • Automatic token refresh with concurrent-request deduplication.
    • Full API coverage: login, register, logout, 2FA (TOTP / SMS / magic-link), email verification and change, password reset and change, account linking, session management, account deletion.
    • AuthState.userStream replays the current user to new subscribers immediately upon subscription.
    • WASM-compatible: no dart:html, no dart:io, no native plugins.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive