{"action":"created","issue":{"url":"https://api.github.com/repos/mulab/mu-gateway/issues/1","labels_url":"https://api.github.com/repos/mulab/mu-gateway/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mulab/mu-gateway/issues/1/comments","events_url":"https://api.github.com/repos/mulab/mu-gateway/issues/1/events","html_url":"https://github.com/mulab/mu-gateway/issues/1","id":95019198,"number":1,"title":"Design notes.","user":{"login":"cgcgbcbc","id":3320660,"avatar_url":"https://avatars.githubusercontent.com/u/3320660?v=3","gravatar_id":"","url":"https://api.github.com/users/cgcgbcbc","html_url":"https://github.com/cgcgbcbc","followers_url":"https://api.github.com/users/cgcgbcbc/followers","following_url":"https://api.github.com/users/cgcgbcbc/following{/other_user}","gists_url":"https://api.github.com/users/cgcgbcbc/gists{/gist_id}","starred_url":"https://api.github.com/users/cgcgbcbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgcgbcbc/subscriptions","organizations_url":"https://api.github.com/users/cgcgbcbc/orgs","repos_url":"https://api.github.com/users/cgcgbcbc/repos","events_url":"https://api.github.com/users/cgcgbcbc/events{/privacy}","received_events_url":"https://api.github.com/users/cgcgbcbc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-14T19:26:29Z","updated_at":"2015-07-15T13:03:15Z","closed_at":null,"body":"Use koa or express for handling routes, use es6 rest syntax.\r\n\r\nUse middleware passport and passport-local-mongoose for fetching user info."},"comment":{"url":"https://api.github.com/repos/mulab/mu-gateway/issues/comments/121608213","html_url":"https://github.com/mulab/mu-gateway/issues/1#issuecomment-121608213","issue_url":"https://api.github.com/repos/mulab/mu-gateway/issues/1","id":121608213,"user":{"login":"cgcgbcbc","id":3320660,"avatar_url":"https://avatars.githubusercontent.com/u/3320660?v=3","gravatar_id":"","url":"https://api.github.com/users/cgcgbcbc","html_url":"https://github.com/cgcgbcbc","followers_url":"https://api.github.com/users/cgcgbcbc/followers","following_url":"https://api.github.com/users/cgcgbcbc/following{/other_user}","gists_url":"https://api.github.com/users/cgcgbcbc/gists{/gist_id}","starred_url":"https://api.github.com/users/cgcgbcbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgcgbcbc/subscriptions","organizations_url":"https://api.github.com/users/cgcgbcbc/orgs","repos_url":"https://api.github.com/users/cgcgbcbc/repos","events_url":"https://api.github.com/users/cgcgbcbc/events{/privacy}","received_events_url":"https://api.github.com/users/cgcgbcbc/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T13:03:15Z","updated_at":"2015-07-15T13:03:15Z","body":"Another approach is add complex logic in the gateway. This requires we implements mu-gateway as a library. This may be helpful if we want to add A&A for legacy  systems without A&A, for example, the open source docker registry, consul, and so on.\r\nThen the benefits of this project is that it will provided a single reusable passport system across all the services.  "}}