{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/docs/issues/3590","repository_url":"https://api.github.com/repos/laravel/docs","labels_url":"https://api.github.com/repos/laravel/docs/issues/3590/labels{/name}","comments_url":"https://api.github.com/repos/laravel/docs/issues/3590/comments","events_url":"https://api.github.com/repos/laravel/docs/issues/3590/events","html_url":"https://github.com/laravel/docs/issues/3590","id":254327884,"node_id":"MDU6SXNzdWUyNTQzMjc4ODQ=","number":3590,"title":"More guidance for Horizon dashboard authentication","user":{"login":"kamui545","id":356978,"node_id":"MDQ6VXNlcjM1Njk3OA==","avatar_url":"https://avatars2.githubusercontent.com/u/356978?v=4","gravatar_id":"","url":"https://api.github.com/users/kamui545","html_url":"https://github.com/kamui545","followers_url":"https://api.github.com/users/kamui545/followers","following_url":"https://api.github.com/users/kamui545/following{/other_user}","gists_url":"https://api.github.com/users/kamui545/gists{/gist_id}","starred_url":"https://api.github.com/users/kamui545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamui545/subscriptions","organizations_url":"https://api.github.com/users/kamui545/orgs","repos_url":"https://api.github.com/users/kamui545/repos","events_url":"https://api.github.com/users/kamui545/events{/privacy}","received_events_url":"https://api.github.com/users/kamui545/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-08-31T13:06:27Z","updated_at":"2018-10-08T11:52:44Z","closed_at":"2018-02-12T23:53:10Z","author_association":"CONTRIBUTOR","body":"In the documentation, we got the following section:\r\n\r\n# Dashboard Authentication\r\n\r\nHorizon exposes a dashboard at /horizon. By default, you will only be able to access this dashboard in the local environment. To define a more specific access policy for the dashboard, you should use the Horizon::auth method. The auth method accepts a callback which should return true or false, indicating whether the user should have access to the Horizon dashboard:\r\n\r\n```php\r\nHorizon::auth(function ($request) {\r\n    // return true / false;\r\n});\r\n```\r\n\r\n--\r\n\r\nWhat do you think about adding some advices on **where** exactly you would **recommend** to drop this snippet? Personally I've put it in `AppServiceProvider::boot()` but maybe there's a more suitable place and more guidance may be appreciated for newcomers who could be lost?"},"comment":{"url":"https://api.github.com/repos/laravel/docs/issues/comments/427805238","html_url":"https://github.com/laravel/docs/issues/3590#issuecomment-427805238","issue_url":"https://api.github.com/repos/laravel/docs/issues/3590","id":427805238,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzgwNTIzOA==","user":{"login":"laurencei","id":1210658,"node_id":"MDQ6VXNlcjEyMTA2NTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1210658?v=4","gravatar_id":"","url":"https://api.github.com/users/laurencei","html_url":"https://github.com/laurencei","followers_url":"https://api.github.com/users/laurencei/followers","following_url":"https://api.github.com/users/laurencei/following{/other_user}","gists_url":"https://api.github.com/users/laurencei/gists{/gist_id}","starred_url":"https://api.github.com/users/laurencei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurencei/subscriptions","organizations_url":"https://api.github.com/users/laurencei/orgs","repos_url":"https://api.github.com/users/laurencei/repos","events_url":"https://api.github.com/users/laurencei/events{/privacy}","received_events_url":"https://api.github.com/users/laurencei/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T11:52:44Z","updated_at":"2018-10-08T11:52:44Z","author_association":"MEMBER","body":"@jlsjonas - sorry, what do you mean? Taylor added some extra instructions there. Do you have a better option in the way it can be done?"}}
{"actor":{"display_login":"laurencei"}}