Horizon: Horizon 403 on production

Created on 23 Oct 2017  路  2Comments  路  Source: laravel/horizon

Hi,
I have a production server provisioned by forge and a laravel 5.5 app with PHP 7.1. I installed horizon and configured it according to my needs including queues by Redis and Daemon according to laravel documentation. I have not enabled Auth for Horizon for now.

When I try to access /horizon, I get this whoops and the status code of request is 403. I am not sure what is the problem here.

On my local machine and development VPS (provisioned by forge and app is deployed by forge too), it is working perfectly.

Attached is a screenshot of the error.

Any help and guidance will be appreciated.

Thank you

screen shot 2017-10-23 at 12 01 42 pm

screen shot 2017-10-23 at 12 10 35 pm

Most helpful comment

I have not enabled Auth for Horizon for now.

If you do not provide a specific authentication callback, Horizon will only be available in the local environment. Horizon should never be publicly accessible, as this would be a major security issue.

All 2 comments

I have not enabled Auth for Horizon for now.

If you do not provide a specific authentication callback, Horizon will only be available in the local environment. Horizon should never be publicly accessible, as this would be a major security issue.

I have not enabled Auth for Horizon for now.

If you do not provide a specific authentication callback, Horizon will only be available in the local environment. Horizon should never be publicly accessible, as this would be a major security issue.

How to do this ?
I mean how rather where do I provide this specific authentication callback?
Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

etiennellipse picture etiennellipse  路  3Comments

mahdiahmadi73 picture mahdiahmadi73  路  3Comments

wturrell picture wturrell  路  5Comments

dmitryuk picture dmitryuk  路  3Comments

pmartelletti picture pmartelletti  路  4Comments