• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-flutter / 29928677670
86%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 02:29PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
  cancel
29928677670

push

github

web-flow
docs(examples): add authentication example covering all sign in methods (#1627)

## What

Adds a single example app under `examples/authentication` that
demonstrates every `supabase_flutter` sign in method except passkeys
(which already have their own [`passkeys`](../passkeys) example). Pick a
method with the chips at the top; once signed in you land on an account
screen that manages MFA and can upgrade an anonymous user to a permanent
account.

Covers these parity example tickets:

- **SDK-1059** Email & password: `signUp`, `signInWithPassword`, and a
full password reset (`resetPasswordForEmail`, then `verifyOTP` with
`OtpType.recovery` and `updateUser`)
- **SDK-1060** Passwordless: `signInWithOtp(email:)` + `verifyOTP(type:
OtpType.email)`
- **SDK-1061** OAuth social: `signInWithOAuth` (Google, GitHub, Apple),
including deep-link redirect
- **SDK-1062** Phone / SMS: `signInWithOtp(phone:)` + `verifyOTP(type:
OtpType.sms)`
- **SDK-1063** Anonymous: `signInAnonymously`, then `updateUser` to
upgrade to a permanent account
- **SDK-1064** MFA (TOTP): `auth.mfa.enroll`, `challengeAndVerify`,
`listFactors`, `unenroll`

## How

- All `supabase.auth.*` calls live in `lib/auth_repository.dart`, kept
separate from the UI so the flows are easy to read and to drive from an
integration test. The UI just calls the repository and rebuilds from
`onAuthStateChange`.
- Follows the structure, naming and comment style of the `database_crud`
example.
- The shared Supabase config in `examples/supabase/config.toml` enables
anonymous sign in, phone auth (with a local test OTP so no SMS provider
is needed), TOTP MFA, and the local mail server. Custom `magic_link` and
`recovery` email templates include the one-time code so the email OTP
and reset flows can be completed by typing it. `[inbucket]` was renamed
to the current `[local_smtp]` section along the way. The example stores
no data of its own, so it needs no migration or seed.

## Testing

Booted the shared local stack an... (continued)
Source Files on build 29928677670
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #29928677670
  • 47ceaaf7 on github
  • Prev Build on main (#29927200486)
  • Next Build on main (#30004266862)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc