🚀 5 minutes tutorial
Authentication

Authentication

There is the AppConfig file where you can configure your providers.

shared/config.tsx
export const AppConfig: AppConfig = {
  availableProviders: ["google", "facebook", "twitter", "github", "discord", "linkedin", "spotify"],
  isOtpAvailable: true,
  isCredentialsAvailable: true,
  brandName: "TurboSaaS",
  brandUrl: "https://turbo-saas.com",
  stripeSuccessUrl: "http://localhost:3333/stripe/success",
  stripeErrorUrl: "https://localhost:3333/stripe/error",
  waitlistMode: false,
  twitterUrl: "https://x.com/wailroth",
  youtubeUrl: "/",
  faqList: FAQList,
  featuresList: features,
  routeList: routeList,
  testimonials: testimonials
};

You can add your own configurations here. No stress.

Socials

Setup your providers

Go in shared/config.ts and remove providers you don't need.

Setup your socials

Go in .env and add private keys for your socials. Everything is handle in the /app/auth/socials folder.

Setup OTP & Magic links

Magic links comes with OTP, the user will receive an email with a link to login (signed) and an OTP code. You can enable it in the AppConfig file, with isOtpAvailable: true.