Indie Kit DocsIndie Kit Docs
Setup

Authentication Setup 🔐

Learn how to set up authentication in your Indie Kit application

Authentication Setup 🔐

Setting up authentication in your Indie Kit application is quick and easy. Let's get started! 🚀

Quick Setup ⚡

  1. Add these environment variables to your .env file:

    # Authentication
    SUPER_ADMIN_EMAILS=your.email@example.com
    NEXT_PUBLIC_SIGNIN_ENABLED=true
    
  2. Run the authentication setup command:

    npx auth secret

That's it! Your authentication system is now ready to use. 🎉

Next Steps 🔌

Add more authentication features to your app:

Verifying Setup ✅

To verify your authentication is working:

  1. Start your development server
  2. Visit /sign-in page
  3. Try signing in with the configured provider
  4. You should be redirected to the dashboard after successful login

Now your Indie Kit application is ready to handle user authentication! 🎯

On this page