I have testet laravel Horizon on my local environment and everything is working as expected. When I am switching to production domain/horizon throws a 403 error. I have set the gate in HorizonServiceProvider as stated in the documentation - First step is just to get access without auth. My gate now looks like this:
{
Gate::define('viewHorizon', function ($user = null) {
return true;
});
}
Can anyone suggest what I am missing?
link to 403 error link to 401 error - Dashboard without data