{"action":"created","issue":{"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/24","repository_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk","labels_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/24/comments","events_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/24/events","html_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/24","id":191657086,"number":24,"title":"Add auth to appix verbs","user":{"login":"alexmiranda","id":1031418,"avatar_url":"https://avatars.githubusercontent.com/u/1031418?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmiranda","html_url":"https://github.com/alexmiranda","followers_url":"https://api.github.com/users/alexmiranda/followers","following_url":"https://api.github.com/users/alexmiranda/following{/other_user}","gists_url":"https://api.github.com/users/alexmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmiranda/subscriptions","organizations_url":"https://api.github.com/users/alexmiranda/orgs","repos_url":"https://api.github.com/users/alexmiranda/repos","events_url":"https://api.github.com/users/alexmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alexmiranda/received_events","type":"User","site_admin":false},"labels":[{"id":478879286,"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/labels/feature","name":"feature","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"fahad19","id":20046,"avatar_url":"https://avatars.githubusercontent.com/u/20046?v=3","gravatar_id":"","url":"https://api.github.com/users/fahad19","html_url":"https://github.com/fahad19","followers_url":"https://api.github.com/users/fahad19/followers","following_url":"https://api.github.com/users/fahad19/following{/other_user}","gists_url":"https://api.github.com/users/fahad19/gists{/gist_id}","starred_url":"https://api.github.com/users/fahad19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahad19/subscriptions","organizations_url":"https://api.github.com/users/fahad19/orgs","repos_url":"https://api.github.com/users/fahad19/repos","events_url":"https://api.github.com/users/fahad19/events{/privacy}","received_events_url":"https://api.github.com/users/fahad19/received_events","type":"User","site_admin":false},"assignees":[{"login":"fahad19","id":20046,"avatar_url":"https://avatars.githubusercontent.com/u/20046?v=3","gravatar_id":"","url":"https://api.github.com/users/fahad19","html_url":"https://github.com/fahad19","followers_url":"https://api.github.com/users/fahad19/followers","following_url":"https://api.github.com/users/fahad19/following{/other_user}","gists_url":"https://api.github.com/users/fahad19/gists{/gist_id}","starred_url":"https://api.github.com/users/fahad19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahad19/subscriptions","organizations_url":"https://api.github.com/users/fahad19/orgs","repos_url":"https://api.github.com/users/fahad19/repos","events_url":"https://api.github.com/users/fahad19/events{/privacy}","received_events_url":"https://api.github.com/users/fahad19/received_events","type":"User","site_admin":false},{"login":"mAiNiNfEcTiOn","id":1002056,"avatar_url":"https://avatars.githubusercontent.com/u/1002056?v=3","gravatar_id":"","url":"https://api.github.com/users/mAiNiNfEcTiOn","html_url":"https://github.com/mAiNiNfEcTiOn","followers_url":"https://api.github.com/users/mAiNiNfEcTiOn/followers","following_url":"https://api.github.com/users/mAiNiNfEcTiOn/following{/other_user}","gists_url":"https://api.github.com/users/mAiNiNfEcTiOn/gists{/gist_id}","starred_url":"https://api.github.com/users/mAiNiNfEcTiOn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mAiNiNfEcTiOn/subscriptions","organizations_url":"https://api.github.com/users/mAiNiNfEcTiOn/orgs","repos_url":"https://api.github.com/users/mAiNiNfEcTiOn/repos","events_url":"https://api.github.com/users/mAiNiNfEcTiOn/events{/privacy}","received_events_url":"https://api.github.com/users/mAiNiNfEcTiOn/received_events","type":"User","site_admin":false},{"login":"alexmiranda","id":1031418,"avatar_url":"https://avatars.githubusercontent.com/u/1031418?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmiranda","html_url":"https://github.com/alexmiranda","followers_url":"https://api.github.com/users/alexmiranda/followers","following_url":"https://api.github.com/users/alexmiranda/following{/other_user}","gists_url":"https://api.github.com/users/alexmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmiranda/subscriptions","organizations_url":"https://api.github.com/users/alexmiranda/orgs","repos_url":"https://api.github.com/users/alexmiranda/repos","events_url":"https://api.github.com/users/alexmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alexmiranda/received_events","type":"User","site_admin":false},{"login":"markvincze","id":1122274,"avatar_url":"https://avatars.githubusercontent.com/u/1122274?v=3","gravatar_id":"","url":"https://api.github.com/users/markvincze","html_url":"https://github.com/markvincze","followers_url":"https://api.github.com/users/markvincze/followers","following_url":"https://api.github.com/users/markvincze/following{/other_user}","gists_url":"https://api.github.com/users/markvincze/gists{/gist_id}","starred_url":"https://api.github.com/users/markvincze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markvincze/subscriptions","organizations_url":"https://api.github.com/users/markvincze/orgs","repos_url":"https://api.github.com/users/markvincze/repos","events_url":"https://api.github.com/users/markvincze/events{/privacy}","received_events_url":"https://api.github.com/users/markvincze/received_events","type":"User","site_admin":false},{"login":"GVdP-Travix","id":4688519,"avatar_url":"https://avatars.githubusercontent.com/u/4688519?v=3","gravatar_id":"","url":"https://api.github.com/users/GVdP-Travix","html_url":"https://github.com/GVdP-Travix","followers_url":"https://api.github.com/users/GVdP-Travix/followers","following_url":"https://api.github.com/users/GVdP-Travix/following{/other_user}","gists_url":"https://api.github.com/users/GVdP-Travix/gists{/gist_id}","starred_url":"https://api.github.com/users/GVdP-Travix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GVdP-Travix/subscriptions","organizations_url":"https://api.github.com/users/GVdP-Travix/orgs","repos_url":"https://api.github.com/users/GVdP-Travix/repos","events_url":"https://api.github.com/users/GVdP-Travix/events{/privacy}","received_events_url":"https://api.github.com/users/GVdP-Travix/received_events","type":"User","site_admin":false},{"login":"jvantillo","id":18679743,"avatar_url":"https://avatars.githubusercontent.com/u/18679743?v=3","gravatar_id":"","url":"https://api.github.com/users/jvantillo","html_url":"https://github.com/jvantillo","followers_url":"https://api.github.com/users/jvantillo/followers","following_url":"https://api.github.com/users/jvantillo/following{/other_user}","gists_url":"https://api.github.com/users/jvantillo/gists{/gist_id}","starred_url":"https://api.github.com/users/jvantillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvantillo/subscriptions","organizations_url":"https://api.github.com/users/jvantillo/orgs","repos_url":"https://api.github.com/users/jvantillo/repos","events_url":"https://api.github.com/users/jvantillo/events{/privacy}","received_events_url":"https://api.github.com/users/jvantillo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-25T09:22:11Z","updated_at":"2016-11-25T09:40:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/pulls/24","html_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/24","diff_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/24.diff","patch_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/24.patch"},"body":"This adds an `Auth` attribute to `Context` and a new method `(c *Context) RequireUserLoggedIn` that is reused by multiple commands which require the user to be logged in first.\r\n\r\nAdd the `Authorization` header to app catalog push / submit."},"comment":{"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/comments/262917170","html_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/24#issuecomment-262917170","issue_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/24","id":262917170,"user":{"login":"markvincze","id":1122274,"avatar_url":"https://avatars.githubusercontent.com/u/1122274?v=3","gravatar_id":"","url":"https://api.github.com/users/markvincze","html_url":"https://github.com/markvincze","followers_url":"https://api.github.com/users/markvincze/followers","following_url":"https://api.github.com/users/markvincze/following{/other_user}","gists_url":"https://api.github.com/users/markvincze/gists{/gist_id}","starred_url":"https://api.github.com/users/markvincze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markvincze/subscriptions","organizations_url":"https://api.github.com/users/markvincze/orgs","repos_url":"https://api.github.com/users/markvincze/repos","events_url":"https://api.github.com/users/markvincze/events{/privacy}","received_events_url":"https://api.github.com/users/markvincze/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T09:40:46Z","updated_at":"2016-11-25T09:40:46Z","body":"You sure? I think we are refreshing the token already in `whoami` here: https://github.com/Travix-International/Travix.Core.Adk/blob/master/cmd/whoami/whoami.go#L29\r\n\r\nI don't think we should return the authentication error details from the catalog for security reasons. I would just simply try to refersh the token and retry the request every time there is a 401."}}
{"actor":{"display_login":"markvincze"}}