FeaturesMagic Links

ShipFast uses NextAuth to authenticate users. You can configure it in the /app/api/auth/[...nextauth]/route.js file.


  • If you haven't done it yet, add this to your .env.local:


    NEXTAUTH_SECRET is a random chain of characters for JWT encryption. Put anything in there with a least 10 characters.
  • If you haven't set up sending/receiving emails, do it first
  • In config.js file, add an from field to mailgun.fromNoReply (usually noreply@mail.yourdomain.com)
The mongoDB adapter saves new users in the database when they click the login link they receive by email. You have to configure the database first.