Authentication
The SaaSify Kit uses NextAuth for authentication. That enables you to use a variety of providers to authenticate your users. The basic provider would be Email magic links. Follow the steps below to set up authentication.
Setup env
Set a secret key for authentication.
AUTH_SECRET=<A_SECRET>
Configuration
You can configure the NextAuth instance from the src/auth.ts
file. You can find that the kit already has a default configuration which sends out welcome emails to the users.
Database
The data about the users is stored in the database. More about this is described in the Database documentation.