TurboStack supports two different authenticaiton methods:

  • Magic Link - Perform login through a passwordless email confirmation. (Default)
  • OAuth - Perform a login through a list of OAuth providers.

To get things started, add this to your .env.local: (skip if you already did it)

NEXTAUTH_URL=http://app.localhost:3000
NEXTAUTH_SECRET={{random_uuid}}

This is the easiest method and enabled by default: