Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yohoho527's avatar

Heroku returns 403 forbidden after I make authentication in laravel

I followed this videos step by step to deploy a brand new laravel website: https://www.youtube.com/watch?v=639Pe0PpVLQ&t=616s

Except for the authentication's part. Because php artisan make:auth didn't work after Laravel 5.

So I made authentication with these commands instead:

composer require laravel/ui “^1.0” --dev

php artisan ui vue --auth

npm install

npm audit fix

npm run dev

After doing these commands. My website shown 403 status after I made authentication with laravel.

The website index page said:

"Forbidden You don't have permission to access this resource."

I don't know how to fix now. Whats the problem can be?

0 likes
0 replies

Please or to participate in this conversation.