devdojo/auth + drift theme
Hey!
Yep, this should be the case already out of the box without any additional configuration needed.
You can take a look at the live demo here:
Hope that this helps.
- Bobby
Hey there!
Thanks for sharing that video—it was super helpful!
I understand what you’re referring to now. The redirect from /auth/setup to /dashboard is a security feature triggered when the APP_ENV in your .env file is set to production. This ensures that access to the setup page is disabled in production environments to protect your app.
To access the setup page, you can temporarily change the APP_ENV value in your .env file to local. This will prevent the redirect and allow you to complete the setup process.
Once you’ve finished setting up the authentication, make sure to change the APP_ENV value back to production before deploying your app. This step is important to prevent unauthorized access to the setup page in a live environment.
Let me know if this works for you!
- Bobby
1
