{"action":"created","issue":{"url":"https://api.github.com/repos/fauna/dashboard/issues/244","repository_url":"https://api.github.com/repos/fauna/dashboard","labels_url":"https://api.github.com/repos/fauna/dashboard/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/fauna/dashboard/issues/244/comments","events_url":"https://api.github.com/repos/fauna/dashboard/issues/244/events","html_url":"https://github.com/fauna/dashboard/pull/244","id":243398835,"number":244,"title":"DT-2: Move cloud authentication to cloud dashboard only","user":{"login":"erickpintor","id":813042,"avatar_url":"https://avatars1.githubusercontent.com/u/813042?v=4","gravatar_id":"","url":"https://api.github.com/users/erickpintor","html_url":"https://github.com/erickpintor","followers_url":"https://api.github.com/users/erickpintor/followers","following_url":"https://api.github.com/users/erickpintor/following{/other_user}","gists_url":"https://api.github.com/users/erickpintor/gists{/gist_id}","starred_url":"https://api.github.com/users/erickpintor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickpintor/subscriptions","organizations_url":"https://api.github.com/users/erickpintor/orgs","repos_url":"https://api.github.com/users/erickpintor/repos","events_url":"https://api.github.com/users/erickpintor/events{/privacy}","received_events_url":"https://api.github.com/users/erickpintor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-17T13:40:05Z","updated_at":"2017-07-17T17:11:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fauna/dashboard/pulls/244","html_url":"https://github.com/fauna/dashboard/pull/244","diff_url":"https://github.com/fauna/dashboard/pull/244.diff","patch_url":"https://github.com/fauna/dashboard/pull/244.patch"},"body":"This quite changes the original behaviour as such:\r\n\r\n**Base dashboard**:\r\n- Check for credentials in the session store\r\n- If has credentials, skip the login form\r\n- If no credentials, request endpoint and password and save them into the session store\r\n\r\n**Cloud Dashboard**:\r\n- Check if there is a website cookie with an auth key\r\n- If have the cookie, calls website API to validate the user\r\n- If has no cookie, redirect user to website login\r\n\r\n_Cloud dashboard will never show the login form._"},"comment":{"url":"https://api.github.com/repos/fauna/dashboard/issues/comments/315818580","html_url":"https://github.com/fauna/dashboard/pull/244#issuecomment-315818580","issue_url":"https://api.github.com/repos/fauna/dashboard/issues/244","id":315818580,"user":{"login":"erickpintor","id":813042,"avatar_url":"https://avatars1.githubusercontent.com/u/813042?v=4","gravatar_id":"","url":"https://api.github.com/users/erickpintor","html_url":"https://github.com/erickpintor","followers_url":"https://api.github.com/users/erickpintor/followers","following_url":"https://api.github.com/users/erickpintor/following{/other_user}","gists_url":"https://api.github.com/users/erickpintor/gists{/gist_id}","starred_url":"https://api.github.com/users/erickpintor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickpintor/subscriptions","organizations_url":"https://api.github.com/users/erickpintor/orgs","repos_url":"https://api.github.com/users/erickpintor/repos","events_url":"https://api.github.com/users/erickpintor/events{/privacy}","received_events_url":"https://api.github.com/users/erickpintor/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T17:11:54Z","updated_at":"2017-07-17T17:11:54Z","body":"The website dashboard would be pinned for cloud only. I've never managed to connect our cloud dashboard to anything but cloud due to CORS restriction. Do you have thoughts on that?"}}
{"actor":{"display_login":"erickpintor"}}