authenticate laravel redirects to http code example Example: laravel authentication composer require laravel/ui php artisan ui vue --auth