auth0_dart_auth_sdk 0.0.5 copy "auth0_dart_auth_sdk: ^0.0.5" to clipboard
auth0_dart_auth_sdk: ^0.0.5 copied to clipboard

A Dart SDK for auth0 Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.

Changelog #

0.0.5 #

Added #

  • Public package export for Auth0AcceptRequestClient via the main SDK entrypoint.
  • Explicit backend test coverage for change-password, signup, MFA verify, logout helpers, request handling, and user-info flows.
  • Skipped placeholder integration test stubs so the backend suite reports intentional gaps instead of hard load failures.

Changed #

  • Added injectable HTTP clients and consistent bare-domain handling in several backend services to support deterministic testing and cleaner Auth0 tenant configuration.
  • Tightened Auth0IdpInitiatedSSOFlow validation so non-absolute Auth0 URIs fail fast.
  • Updated stale unit tests to match the implemented Auth0 request and URL semantics.

Fixed #

  • auth0GetToken() now preserves Auth0 error descriptions instead of collapsing JSON error responses into a generic status failure.
  • Auth0Logout now enforces non-empty Auth0 domains as documented.
  • auth0GetUserInfo() now supports injected HTTP clients for verified non-network unit coverage.

Notes #

  • No breaking changes.
  • Verified on April 16, 2026 with dart test and dart analyze lib test.

0.0.4 #

Added #

  • Example Authorization Code + PKCE quickstart (Flutter & server-side) to reduce setup friction.
  • Built-in request timeouts and retry/backoff for token/network calls (configurable).
  • Additional inline docs and DartDoc for common flows (login, refresh, logout, user info).

Changed #

  • Improved error surfaces with typed exceptions (e.g., Auth0AuthException, Auth0NetworkException) and clearer messages.
  • Normalized parameter handling for scope, audience, and redirectUri across methods.
  • Updated README with OnePub/private registry guidance and troubleshooting steps.

Fixed #

  • revokeToken() now treats HTTP 204 as success (no-content) instead of throwing.
  • Fixed logout() occasional false negatives on slow networks.
  • Safer JSON parsing for user profile fields with missing/extra properties.

Notes #

  • No breaking changes.
  • Recommended: run dart pub upgrade to pick up the improved networking defaults.

0.0.3 #

Changed #

  • Updated GitHub URL
  • Normalized Dart Docs API naming convention

0.0.2 #

Breaking #

  • Rename: all public file/module names changed from aortem_auth0_*auth0_*.

    • If you import subpaths, replace occurrences of aortem_auth0_ with auth0_.

    • Prefer importing the package entrypoint:

      import 'package:auth0_dart_auth_sdk/auth0_dart_auth_sdk.dart';
      

Added #

  • Example Flutter app demonstrating:

    • Email/password & social login
    • Enterprise SAML
    • MFA (OTP/OOB/Recovery), list/add/delete authenticators
    • Token operations (get token, revoke)
    • OIDC/SAML logout, user info/profile
    • Dynamic application client registration

Changed #

  • Exports consolidated under auth0_* namespace for consistency and clarity. (No runtime behavior changes intended.)

0.0.1 #

  • Bump To Version 3.8.0

0.0.1-pre #

  • Initial pre-release version of the Auth0 Dart Auth SDK.
0
likes
140
points
163
downloads

Documentation

API reference

Publisher

verified publisheraortem.io

Weekly Downloads

A Dart SDK for auth0 Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

build_web_compilers, ds_standard_features, js_interop, jwt_generator, web

More

Packages that depend on auth0_dart_auth_sdk