Skip to content
pubscout

auth0_flutter

3.2.0, released 2 weeks ago by auth0.com

Auth0 SDK for Flutter to integrate Auth0 authentication into mobile, desktop, and web apps.

WASM-readyRock solid
$ flutter pub add auth0_flutter
Source repository

What it does

Provides APIs for user authentication, token management, social logins, and passkeys across Android, iOS, macOS, Windows, and web applications using the Auth0 platform.

AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to authenticate users via Auth0 in a Flutter app.
  • Your application targets multiple platforms including mobile, web, and desktop.

Skip it when

  • You are using a backend other than Auth0 for authentication.
  • You do not want to configure native callback URLs and deep links.

Strengths

  • Cross-platform support spanning Android, iOS, macOS, Windows, and web.
  • Supports modern features like passkeys and token management.

Weaknesses

  • Requires platform-specific configuration for custom URL schemes and manifest placeholders.
  • CocoaPods builds stay on an older version of Auth0.swift and do not support newer features.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
2

Requires Auth0 dashboard application creation, redirect URI configurations, Android manifest placeholders, and platform-specific setup for URL schemes.

import 'package:auth0_flutter/auth0_flutter.dart';

final auth0 = Auth0('YOUR_AUTH0_DOMAIN', 'YOUR_AUTH0_CLIENT_ID');

Alternatives

Packages that do the same job and could replace auth0_flutter.

  • flutter_line_sdk

    Flutter plugin to access native LINE SDKs for LINE Login integration.

  • flutter_appauth

    Flutter plugin for OAuth 2.0 and OpenID Connect authentication using native AppAuth SDKs.

  • smile_id

    Official Smile ID SDK for real-time digital KYC, identity verification, and onboarding.

  • at_client

    Client SDK for building apps on the atProtocol with end-to-end encryption.

Works with

Packages commonly used together with auth0_flutter: ones it builds on, ones built on it, and its own family.