Skip to content
pubscout

web3auth_flutter

8.0.0, released 6 weeks ago by web3auth.io

Flutter SDK for Web3Auth passwordless authentication and non-custodial keys

$ flutter pub add web3auth_flutter
Source repository

What it does

Provides a thin MethodChannel wrapper over native Web3Auth SDKs to aggregate OAuth logins, manage keys via Threshold Cryptography, and handle active sessions for Web3 applications.

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

Use it when

  • You need passwordless social logins like Google, Twitter, or Discord in a Web3 application
  • You want non-custodial key infrastructure with multi-factor authentication setup and recovery

Skip it when

  • Your project targets iOS versions older than 14 or Android API versions older than 26
  • You only require standard traditional backend authentication without Web3 or non-custodial key features

Strengths

  • Aggregates multiple OAuth providers and wallet connections
  • Supports threshold cryptography and multi-factor authentication
  • Whitelabeling options for user interfaces

Weaknesses

  • Requires specific native minimum versions and configuration on iOS and Android
  • Acts as a thin wrapper depending heavily on native Android and iOS SDK updates

Setup

Kind
Plugin (native code)
Effort
High
Code generation
Yes (build_runner)
Direct dependencies
1

Requires native configuration including updating iOS Podfile/SPM setup to iOS 14.0+, and Android compileSdkVersion 34 with JitPack.

await Web3AuthFlutter.init(
  Web3AuthOptions(
    clientId: 'YOUR_WEB3AUTH_CLIENT_ID',
    web3AuthNetwork: Web3AuthNetwork.sapphire_devnet,
    redirectUrl: redirectUrl,
    isFlutterAnalytics: true,
  ),
);
await Web3AuthFlutter.connectTo(
  LoginParams(authConnection: AuthConnection.google),
);

Alternatives

Packages that do the same job and could replace web3auth_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.

  • auth0_flutter

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

  • smile_id

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

Works with

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