Skip to content
pubscout

gotrue

2.27.3, released 6 weeks ago by supabase.io

Dart client for Supabase Auth API

WASM-readyRock solid
$ flutter pub add gotrue
Source repository

What it does

Provides a Dart interface to the Supabase Auth (GoTrue) REST API. It handles sign‑up, sign‑in, token refresh, and user management for Supabase projects.

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

Use it when

  • You need authentication in a Flutter or Dart app that uses Supabase
  • You want a lightweight client without pulling the full Supabase SDK
  • You prefer a pure Dart implementation over JavaScript ports

Skip it when

  • You are already using the full Supabase package and its auth module
  • You need authentication for a non‑Supabase backend

Strengths

  • Simple, focused API for Supabase Auth
  • MIT licensed and actively maintained
  • No heavy dependencies, works on all platforms

Weaknesses

  • Only supports Supabase Auth, not other providers
  • Requires manual integration if you use other Supabase services

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
8

Alternatives

Packages that do the same job and could replace gotrue.

Works with

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