TurboStack uses NextAuth to authenticate users. You can configure it in the /apps/web/api/auth/[...nextauth]/route.ts file.

There are 3 built-in ways to authenticate users with TurboStack: Magic Links, Google and GitHub

We already implemented this at the sample authentication page, resided at the /apps/web/app/app/(auth)/sign-in/form.tsx file.

While running your app, if you open app.localhost:3000, you’ll see a page like this: