PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

devdojo/auth + drift theme

Solved
carlos4

Nov 27th, 2024 12:42 AM

Is it possible to have both?

bobbyiliev

Nov 27th, 2024 04:15 AM

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:

https://wave.devdojo.com

Hope that this helps.

- Bobby

carlos4

Nov 27th, 2024 04:29 AM

when installing composer require devdojo/auth.

I need to go to auth/setup

But when I tried to go to auth/setup. It redirect me back to dashboard. Is there any settings that I need to configure?

carlos4

Nov 27th, 2024 04:44 AM

https://www.loom.com/share/323553cd40dc47869be2b67e1129b6f2?sid=2d41926a-815d-406a-a3e4-ddda6b895db4

bobbyiliev

Nov 27th, 2024 05:09 AM

Best Answer

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

Report
1