{"action":"closed","issue":{"url":"https://api.github.com/repos/subutai-io/base/issues/1486","repository_url":"https://api.github.com/repos/subutai-io/base","labels_url":"https://api.github.com/repos/subutai-io/base/issues/1486/labels{/name}","comments_url":"https://api.github.com/repos/subutai-io/base/issues/1486/comments","events_url":"https://api.github.com/repos/subutai-io/base/issues/1486/events","html_url":"https://github.com/subutai-io/base/issues/1486","id":191623412,"number":1486,"title":"[Hub - SS] improve auto-authorization between Hub and SS","user":{"login":"zubaidullo","id":4469949,"avatar_url":"https://avatars1.githubusercontent.com/u/4469949?v=3","gravatar_id":"","url":"https://api.github.com/users/zubaidullo","html_url":"https://github.com/zubaidullo","followers_url":"https://api.github.com/users/zubaidullo/followers","following_url":"https://api.github.com/users/zubaidullo/following{/other_user}","gists_url":"https://api.github.com/users/zubaidullo/gists{/gist_id}","starred_url":"https://api.github.com/users/zubaidullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubaidullo/subscriptions","organizations_url":"https://api.github.com/users/zubaidullo/orgs","repos_url":"https://api.github.com/users/zubaidullo/repos","events_url":"https://api.github.com/users/zubaidullo/events{/privacy}","received_events_url":"https://api.github.com/users/zubaidullo/received_events","type":"User","site_admin":false},"labels":[{"id":552005802,"url":"https://api.github.com/repos/subutai-io/base/labels/complex","name":"complex","color":"5319e7","default":false},{"id":391043292,"url":"https://api.github.com/repos/subutai-io/base/labels/critical","name":"critical","color":"b60205","default":false},{"id":371851689,"url":"https://api.github.com/repos/subutai-io/base/labels/security","name":"security","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"Dilshat","id":3367326,"avatar_url":"https://avatars3.githubusercontent.com/u/3367326?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilshat","html_url":"https://github.com/Dilshat","followers_url":"https://api.github.com/users/Dilshat/followers","following_url":"https://api.github.com/users/Dilshat/following{/other_user}","gists_url":"https://api.github.com/users/Dilshat/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilshat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilshat/subscriptions","organizations_url":"https://api.github.com/users/Dilshat/orgs","repos_url":"https://api.github.com/users/Dilshat/repos","events_url":"https://api.github.com/users/Dilshat/events{/privacy}","received_events_url":"https://api.github.com/users/Dilshat/received_events","type":"User","site_admin":false},"assignees":[{"login":"Dilshat","id":3367326,"avatar_url":"https://avatars3.githubusercontent.com/u/3367326?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilshat","html_url":"https://github.com/Dilshat","followers_url":"https://api.github.com/users/Dilshat/followers","following_url":"https://api.github.com/users/Dilshat/following{/other_user}","gists_url":"https://api.github.com/users/Dilshat/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilshat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilshat/subscriptions","organizations_url":"https://api.github.com/users/Dilshat/orgs","repos_url":"https://api.github.com/users/Dilshat/repos","events_url":"https://api.github.com/users/Dilshat/events{/privacy}","received_events_url":"https://api.github.com/users/Dilshat/received_events","type":"User","site_admin":false},{"login":"zubaidullo","id":4469949,"avatar_url":"https://avatars1.githubusercontent.com/u/4469949?v=3","gravatar_id":"","url":"https://api.github.com/users/zubaidullo","html_url":"https://github.com/zubaidullo","followers_url":"https://api.github.com/users/zubaidullo/followers","following_url":"https://api.github.com/users/zubaidullo/following{/other_user}","gists_url":"https://api.github.com/users/zubaidullo/gists{/gist_id}","starred_url":"https://api.github.com/users/zubaidullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubaidullo/subscriptions","organizations_url":"https://api.github.com/users/zubaidullo/orgs","repos_url":"https://api.github.com/users/zubaidullo/repos","events_url":"https://api.github.com/users/zubaidullo/events{/privacy}","received_events_url":"https://api.github.com/users/zubaidullo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-11-25T04:30:18Z","updated_at":"2017-05-18T03:12:14Z","closed_at":"2017-05-18T03:12:14Z","body":"Hub uses token for auto-authorize to SS. Now, Hub uses one token, which comes with peer registration. \r\nLong time token is not secure, need to update every-time after Hub uses that token. \r\nHow it will work: \r\n1) Hub signs token, sends to SS\r\n2) SS will decrypt and then checks if token expired or not. If expired will send new token\r\n3) Hub will get new token or old if not expired, then authorize.  \r\n\r\n1,2 cases are not exists in current workflow. Need to implement them.  "}}
{"actor":{"display_login":"zubaidullo"}}