Overview

Get started with authentication.

TurboStarter uses Better Auth to handle authentication. It's a secure, production-ready authentication solution that integrates seamlessly with many frameworks and provides enterprise-grade security out of the box.

Why Better Auth?

One of the core principles of TurboStarter is to do things as simple as possible, and to make everything as performant as possible.

Better Auth provides an excellent developer experience with minimal configuration while keeping enterprise-grade security. Its framework-agnostic approach and focus on performance make it the perfect choice for TurboStarter.

Recently, Better Auth announced an incorporation of Auth.js (28k+ stars on GitHub), making it even more powerful and flexible.

Better Auth

You can read more about Better Auth in the official documentation.

TurboStarter supports multiple authentication methods:

  • Password - the traditional email/password method
  • Magic Link - magic links with deep linking
  • OTP - one-time passwords sent to email or phone
  • Anonymous - allowing users to proceed anonymously
  • OAuth - social providers (Apple, Google, and GitHub preconfigured)
  • Native Apple authentication - Sign in with Apple for iOS
  • Native Google authentication - Sign in with Google for Android

As well as common applications flows, with ready-to-use views and components:

  • Sign in - sign in with email/password, magic link, one-time password, or OAuth providers
  • Sign up - sign up with email/password or OAuth providers
  • Sign out - end session by signing out
  • Password recovery - forgot and reset password
  • Email verification - verify email address

You can build your auth flow like LEGO bricks - plug in the parts you need and customize them.

How is this guide?

Last updated on

On this page

No Headings
Ship your startup everywhere. In minutes.Get TurboStarter