{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/alerta/issues/116","repository_url":"https://api.github.com/repos/guardian/alerta","labels_url":"https://api.github.com/repos/guardian/alerta/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/guardian/alerta/issues/116/comments","events_url":"https://api.github.com/repos/guardian/alerta/issues/116/events","html_url":"https://github.com/guardian/alerta/issues/116","id":105860334,"number":116,"title":"[enhancements] support configurable OAUTH2 providers","user":{"login":"blysik","id":58610,"avatar_url":"https://avatars.githubusercontent.com/u/58610?v=3","gravatar_id":"","url":"https://api.github.com/users/blysik","html_url":"https://github.com/blysik","followers_url":"https://api.github.com/users/blysik/followers","following_url":"https://api.github.com/users/blysik/following{/other_user}","gists_url":"https://api.github.com/users/blysik/gists{/gist_id}","starred_url":"https://api.github.com/users/blysik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blysik/subscriptions","organizations_url":"https://api.github.com/users/blysik/orgs","repos_url":"https://api.github.com/users/blysik/repos","events_url":"https://api.github.com/users/blysik/events{/privacy}","received_events_url":"https://api.github.com/users/blysik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guardian/alerta/labels/enhancement","name":"enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-10T17:41:24Z","updated_at":"2016-04-01T08:11:46Z","closed_at":"2015-10-21T09:07:57Z","body":"GitLab provides OAuth2 services: http://doc.gitlab.com/ce/integration/oauth_provider.html\r\n\r\nIf I have a local installation of GitLab, it would be nice to be able to point Alerta at it.  \r\n\r\nRight now, however, Alerta hard codes the auth endpoints on a per service basis.  Could a configurable endpoint be created for OAuth2 sources like this?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/alerta/issues/comments/204302179","html_url":"https://github.com/guardian/alerta/issues/116#issuecomment-204302179","issue_url":"https://api.github.com/repos/guardian/alerta/issues/116","id":204302179,"user":{"login":"qed-","id":3739383,"avatar_url":"https://avatars.githubusercontent.com/u/3739383?v=3","gravatar_id":"","url":"https://api.github.com/users/qed-","html_url":"https://github.com/qed-","followers_url":"https://api.github.com/users/qed-/followers","following_url":"https://api.github.com/users/qed-/following{/other_user}","gists_url":"https://api.github.com/users/qed-/gists{/gist_id}","starred_url":"https://api.github.com/users/qed-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qed-/subscriptions","organizations_url":"https://api.github.com/users/qed-/orgs","repos_url":"https://api.github.com/users/qed-/repos","events_url":"https://api.github.com/users/qed-/events{/privacy}","received_events_url":"https://api.github.com/users/qed-/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T08:11:46Z","updated_at":"2016-04-01T08:11:46Z","body":"Is it possible to authenticate using an internal github server?\r\nI can see the GITLAB_URL variable but not one for github."}}