{"action":"closed","issue":{"url":"https://api.github.com/repos/misha1235000/serverRegisterClient/issues/13","repository_url":"https://api.github.com/repos/misha1235000/serverRegisterClient","labels_url":"https://api.github.com/repos/misha1235000/serverRegisterClient/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/misha1235000/serverRegisterClient/issues/13/comments","events_url":"https://api.github.com/repos/misha1235000/serverRegisterClient/issues/13/events","html_url":"https://github.com/misha1235000/serverRegisterClient/issues/13","id":355711155,"node_id":"MDU6SXNzdWUzNTU3MTExNTU=","number":13,"title":"Implement auth in better way.","user":{"login":"misha1235000","id":19776774,"node_id":"MDQ6VXNlcjE5Nzc2Nzc0","avatar_url":"https://avatars3.githubusercontent.com/u/19776774?v=4","gravatar_id":"","url":"https://api.github.com/users/misha1235000","html_url":"https://github.com/misha1235000","followers_url":"https://api.github.com/users/misha1235000/followers","following_url":"https://api.github.com/users/misha1235000/following{/other_user}","gists_url":"https://api.github.com/users/misha1235000/gists{/gist_id}","starred_url":"https://api.github.com/users/misha1235000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misha1235000/subscriptions","organizations_url":"https://api.github.com/users/misha1235000/orgs","repos_url":"https://api.github.com/users/misha1235000/repos","events_url":"https://api.github.com/users/misha1235000/events{/privacy}","received_events_url":"https://api.github.com/users/misha1235000/received_events","type":"User","site_admin":false},"labels":[{"id":1009973589,"node_id":"MDU6TGFiZWwxMDA5OTczNTg5","url":"https://api.github.com/repos/misha1235000/serverRegisterClient/labels/invalid","name":"invalid","color":"e4e669","default":true}],"state":"closed","locked":false,"assignee":{"login":"misha1235000","id":19776774,"node_id":"MDQ6VXNlcjE5Nzc2Nzc0","avatar_url":"https://avatars3.githubusercontent.com/u/19776774?v=4","gravatar_id":"","url":"https://api.github.com/users/misha1235000","html_url":"https://github.com/misha1235000","followers_url":"https://api.github.com/users/misha1235000/followers","following_url":"https://api.github.com/users/misha1235000/following{/other_user}","gists_url":"https://api.github.com/users/misha1235000/gists{/gist_id}","starred_url":"https://api.github.com/users/misha1235000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misha1235000/subscriptions","organizations_url":"https://api.github.com/users/misha1235000/orgs","repos_url":"https://api.github.com/users/misha1235000/repos","events_url":"https://api.github.com/users/misha1235000/events{/privacy}","received_events_url":"https://api.github.com/users/misha1235000/received_events","type":"User","site_admin":false},"assignees":[{"login":"misha1235000","id":19776774,"node_id":"MDQ6VXNlcjE5Nzc2Nzc0","avatar_url":"https://avatars3.githubusercontent.com/u/19776774?v=4","gravatar_id":"","url":"https://api.github.com/users/misha1235000","html_url":"https://github.com/misha1235000","followers_url":"https://api.github.com/users/misha1235000/followers","following_url":"https://api.github.com/users/misha1235000/following{/other_user}","gists_url":"https://api.github.com/users/misha1235000/gists{/gist_id}","starred_url":"https://api.github.com/users/misha1235000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misha1235000/subscriptions","organizations_url":"https://api.github.com/users/misha1235000/orgs","repos_url":"https://api.github.com/users/misha1235000/repos","events_url":"https://api.github.com/users/misha1235000/events{/privacy}","received_events_url":"https://api.github.com/users/misha1235000/received_events","type":"User","site_admin":false},{"login":"shakedmanes","id":33866657,"node_id":"MDQ6VXNlcjMzODY2NjU3","avatar_url":"https://avatars1.githubusercontent.com/u/33866657?v=4","gravatar_id":"","url":"https://api.github.com/users/shakedmanes","html_url":"https://github.com/shakedmanes","followers_url":"https://api.github.com/users/shakedmanes/followers","following_url":"https://api.github.com/users/shakedmanes/following{/other_user}","gists_url":"https://api.github.com/users/shakedmanes/gists{/gist_id}","starred_url":"https://api.github.com/users/shakedmanes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakedmanes/subscriptions","organizations_url":"https://api.github.com/users/shakedmanes/orgs","repos_url":"https://api.github.com/users/shakedmanes/repos","events_url":"https://api.github.com/users/shakedmanes/events{/privacy}","received_events_url":"https://api.github.com/users/shakedmanes/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/misha1235000/serverRegisterClient/milestones/1","html_url":"https://github.com/misha1235000/serverRegisterClient/milestone/1","labels_url":"https://api.github.com/repos/misha1235000/serverRegisterClient/milestones/1/labels","id":3617130,"node_id":"MDk6TWlsZXN0b25lMzYxNzEzMA==","number":1,"title":"Sprint #1","description":"Add some screens, and logic, and refactoring.","creator":{"login":"misha1235000","id":19776774,"node_id":"MDQ6VXNlcjE5Nzc2Nzc0","avatar_url":"https://avatars3.githubusercontent.com/u/19776774?v=4","gravatar_id":"","url":"https://api.github.com/users/misha1235000","html_url":"https://github.com/misha1235000","followers_url":"https://api.github.com/users/misha1235000/followers","following_url":"https://api.github.com/users/misha1235000/following{/other_user}","gists_url":"https://api.github.com/users/misha1235000/gists{/gist_id}","starred_url":"https://api.github.com/users/misha1235000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misha1235000/subscriptions","organizations_url":"https://api.github.com/users/misha1235000/orgs","repos_url":"https://api.github.com/users/misha1235000/repos","events_url":"https://api.github.com/users/misha1235000/events{/privacy}","received_events_url":"https://api.github.com/users/misha1235000/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2018-09-03T08:08:14Z","updated_at":"2018-09-03T12:16:10Z","due_on":"2018-09-09T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-08-30T18:53:25Z","updated_at":"2018-09-03T12:16:10Z","closed_at":"2018-09-03T12:16:10Z","author_association":"OWNER","body":"### The way it works now\r\nRight now, because I didn't focus on the client side logic, but only its design,\r\nthe auth works with a `document.cookie` that is saving the token,\r\nThen the check itself, tests if there are a token, in a way that it just checks the strings length.\r\nWhich i think isnt a good way to implement it.\r\n\r\n#### The way it need to be\r\nCheck if there is a way to check if its a token, easily, and without approaching the server, because, this token is already saved on the `document.cookie`, and if it will expire, it will logout you anyway."}}
{"actor":{"display_login":"shakedmanes"}}