{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/passport/issues/289","repository_url":"https://api.github.com/repos/laravel/passport","labels_url":"https://api.github.com/repos/laravel/passport/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/laravel/passport/issues/289/comments","events_url":"https://api.github.com/repos/laravel/passport/issues/289/events","html_url":"https://github.com/laravel/passport/issues/289","id":209386901,"node_id":"MDU6SXNzdWUyMDkzODY5MDE=","number":289,"title":"How to work with OAuth errors","user":{"login":"lotarbo","id":1766890,"node_id":"MDQ6VXNlcjE3NjY4OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1766890?v=4","gravatar_id":"","url":"https://api.github.com/users/lotarbo","html_url":"https://github.com/lotarbo","followers_url":"https://api.github.com/users/lotarbo/followers","following_url":"https://api.github.com/users/lotarbo/following{/other_user}","gists_url":"https://api.github.com/users/lotarbo/gists{/gist_id}","starred_url":"https://api.github.com/users/lotarbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotarbo/subscriptions","organizations_url":"https://api.github.com/users/lotarbo/orgs","repos_url":"https://api.github.com/users/lotarbo/repos","events_url":"https://api.github.com/users/lotarbo/events{/privacy}","received_events_url":"https://api.github.com/users/lotarbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-02-22T08:43:48Z","updated_at":"2018-07-26T02:55:31Z","closed_at":null,"author_association":"NONE","body":"Hi, what is the right way to custom or work with errors? I mean when we have invalidClient error, this auth popup is bad for me, mb better redirect to client site with some message?\r\nAnd how change error? I read  http://www.kingpabel.com/oauth2-exception-custom-error-message/\r\nbut it works only for clean League\\OAuth2, passport has own HandlesOAuthErrors, can somebody help?\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/passport/issues/comments/407960165","html_url":"https://github.com/laravel/passport/issues/289#issuecomment-407960165","issue_url":"https://api.github.com/repos/laravel/passport/issues/289","id":407960165,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzk2MDE2NQ==","user":{"login":"yushengbuilder","id":26155226,"node_id":"MDQ6VXNlcjI2MTU1MjI2","avatar_url":"https://avatars3.githubusercontent.com/u/26155226?v=4","gravatar_id":"","url":"https://api.github.com/users/yushengbuilder","html_url":"https://github.com/yushengbuilder","followers_url":"https://api.github.com/users/yushengbuilder/followers","following_url":"https://api.github.com/users/yushengbuilder/following{/other_user}","gists_url":"https://api.github.com/users/yushengbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/yushengbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yushengbuilder/subscriptions","organizations_url":"https://api.github.com/users/yushengbuilder/orgs","repos_url":"https://api.github.com/users/yushengbuilder/repos","events_url":"https://api.github.com/users/yushengbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/yushengbuilder/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T02:55:31Z","updated_at":"2018-07-26T02:55:31Z","author_association":"NONE","body":"@webdevog 我觉得这是一个人好的方式，因为token接口并不是专为点一前端设计的，可能多个前端之间的报错信息需求不是很相同。如果都后端重新定义会很繁琐。"}}
{"actor":{"display_login":"yushengbuilder"}}