{"action":"created","issue":{"url":"https://api.github.com/repos/magit/ghub/issues/53","repository_url":"https://api.github.com/repos/magit/ghub","labels_url":"https://api.github.com/repos/magit/ghub/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/magit/ghub/issues/53/comments","events_url":"https://api.github.com/repos/magit/ghub/issues/53/events","html_url":"https://github.com/magit/ghub/issues/53","id":310341491,"number":53,"title":"can't get ghub to work with GHE","user":{"login":"donahchoo","id":884372,"avatar_url":"https://avatars0.githubusercontent.com/u/884372?v=4","gravatar_id":"","url":"https://api.github.com/users/donahchoo","html_url":"https://github.com/donahchoo","followers_url":"https://api.github.com/users/donahchoo/followers","following_url":"https://api.github.com/users/donahchoo/following{/other_user}","gists_url":"https://api.github.com/users/donahchoo/gists{/gist_id}","starred_url":"https://api.github.com/users/donahchoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donahchoo/subscriptions","organizations_url":"https://api.github.com/users/donahchoo/orgs","repos_url":"https://api.github.com/users/donahchoo/repos","events_url":"https://api.github.com/users/donahchoo/events{/privacy}","received_events_url":"https://api.github.com/users/donahchoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-04-01T17:54:07Z","updated_at":"2018-04-09T02:00:00Z","closed_at":"2018-04-09T02:00:00Z","author_association":"NONE","body":"Hi, I'm using a GHE well trying.  I'm not an emacs expert so it is probably just me not understanding how to setup the config and then test.  Perhaps @diasjorge and @whirm can share their config and testing instructions?\r\n\r\nI've tired manually created my .authinfo but I'm still prompted for the wizard and the wizard wants to use api.github.com instead of my GHE instance...  Help?\r\n\r\n.gitconfig:\r\n```\r\n[github \"foo.bar.com/api/v3\"]\r\n        user = donahchoo\r\n```\r\n\r\n.authinfo:\r\n```\r\nmachine foo.bar.com/api/v3 login donahchoo^ghub password TOKEN\r\n```\r\ntry a get:\r\n```\r\n(ghub-get \"/users/donahchoo/repos\")\r\n```\r\nResult:\r\n```\r\nSuch a Github API token is not available:                                                                \r\n                                                                                                         \r\n  Host:    api.github.com                                                                                \r\n  User:    donahchoo                                                                                       \r\n  Package: ghub                                                                                          \r\n```"},"comment":{"url":"https://api.github.com/repos/magit/ghub/issues/comments/379605446","html_url":"https://github.com/magit/ghub/issues/53#issuecomment-379605446","issue_url":"https://api.github.com/repos/magit/ghub/issues/53","id":379605446,"user":{"login":"donahchoo","id":884372,"avatar_url":"https://avatars0.githubusercontent.com/u/884372?v=4","gravatar_id":"","url":"https://api.github.com/users/donahchoo","html_url":"https://github.com/donahchoo","followers_url":"https://api.github.com/users/donahchoo/followers","following_url":"https://api.github.com/users/donahchoo/following{/other_user}","gists_url":"https://api.github.com/users/donahchoo/gists{/gist_id}","starred_url":"https://api.github.com/users/donahchoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donahchoo/subscriptions","organizations_url":"https://api.github.com/users/donahchoo/orgs","repos_url":"https://api.github.com/users/donahchoo/repos","events_url":"https://api.github.com/users/donahchoo/events{/privacy}","received_events_url":"https://api.github.com/users/donahchoo/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T02:00:00Z","updated_at":"2018-04-09T02:00:00Z","author_association":"NONE","body":"going to close this!  I think @diasjorge blog did the trick!"}}
{"actor":{"display_login":"donahchoo"}}