Authentication
Learn how to set up authentication in your Indie Kit application
Setting up authentication in your Indie Kit application is quick and easy. Let's get started! 🚀
Quick Setup ⚡
-
Add these environment variables to your
.env
file:# Authentication SUPER_ADMIN_EMAILS=your.email@example.com NEXT_PUBLIC_SIGNIN_ENABLED=true
-
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:
- Start your development server
- Visit
/sign-in
page - Try signing in with the configured provider
- You should be redirected to the dashboard after successful login
Now your Indie Kit application is ready to handle user authentication! 🎯