{"action":"created","issue":{"url":"https://api.github.com/repos/discourse/discourse/issues/6213","repository_url":"https://api.github.com/repos/discourse/discourse","labels_url":"https://api.github.com/repos/discourse/discourse/issues/6213/labels{/name}","comments_url":"https://api.github.com/repos/discourse/discourse/issues/6213/comments","events_url":"https://api.github.com/repos/discourse/discourse/issues/6213/events","html_url":"https://github.com/discourse/discourse/pull/6213","id":346376604,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MjU2NjE5","number":6213,"title":"REFACTOR: Serve auth provider information in the site serializer","user":{"login":"davidtaylorhq","id":6270921,"node_id":"MDQ6VXNlcjYyNzA5MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6270921?v=4","gravatar_id":"","url":"https://api.github.com/users/davidtaylorhq","html_url":"https://github.com/davidtaylorhq","followers_url":"https://api.github.com/users/davidtaylorhq/followers","following_url":"https://api.github.com/users/davidtaylorhq/following{/other_user}","gists_url":"https://api.github.com/users/davidtaylorhq/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtaylorhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtaylorhq/subscriptions","organizations_url":"https://api.github.com/users/davidtaylorhq/orgs","repos_url":"https://api.github.com/users/davidtaylorhq/repos","events_url":"https://api.github.com/users/davidtaylorhq/events{/privacy}","received_events_url":"https://api.github.com/users/davidtaylorhq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-31T22:09:09Z","updated_at":"2018-08-02T23:54:40Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/discourse/discourse/pulls/6213","html_url":"https://github.com/discourse/discourse/pull/6213","diff_url":"https://github.com/discourse/discourse/pull/6213.diff","patch_url":"https://github.com/discourse/discourse/pull/6213.patch"},"body":"At the moment core providers are hard-coded in Javascript, and plugin providers get added to the JS payload at compile time. \r\n\r\nAdvantages of this refactor:\r\n- We only ship information about enabled auth plugins to the client\r\n- Core auth providers are treated exactly the same as plugin auth providers on the client\r\n- No need to ship 'enabled' settings to the client\r\n- Fewer lines of code 🎉\r\n- Existing tests all pass\r\n\r\nThere are no changes to the plugin api interface. "},"comment":{"url":"https://api.github.com/repos/discourse/discourse/issues/comments/410102788","html_url":"https://github.com/discourse/discourse/pull/6213#issuecomment-410102788","issue_url":"https://api.github.com/repos/discourse/discourse/issues/6213","id":410102788,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDEwMjc4OA==","user":{"login":"SamSaffron","id":5213,"node_id":"MDQ6VXNlcjUyMTM=","avatar_url":"https://avatars1.githubusercontent.com/u/5213?v=4","gravatar_id":"","url":"https://api.github.com/users/SamSaffron","html_url":"https://github.com/SamSaffron","followers_url":"https://api.github.com/users/SamSaffron/followers","following_url":"https://api.github.com/users/SamSaffron/following{/other_user}","gists_url":"https://api.github.com/users/SamSaffron/gists{/gist_id}","starred_url":"https://api.github.com/users/SamSaffron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamSaffron/subscriptions","organizations_url":"https://api.github.com/users/SamSaffron/orgs","repos_url":"https://api.github.com/users/SamSaffron/repos","events_url":"https://api.github.com/users/SamSaffron/events{/privacy}","received_events_url":"https://api.github.com/users/SamSaffron/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T23:54:40Z","updated_at":"2018-08-02T23:54:40Z","author_association":"MEMBER","body":"Feel free to merge when you feel it is safe (Monday is probably a good day) "}}
{"actor":{"display_login":"SamSaffron"}}