{"action":"created","issue":{"url":"https://api.github.com/repos/ControlEverythingCom/mobicle/issues/26","repository_url":"https://api.github.com/repos/ControlEverythingCom/mobicle","labels_url":"https://api.github.com/repos/ControlEverythingCom/mobicle/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ControlEverythingCom/mobicle/issues/26/comments","events_url":"https://api.github.com/repos/ControlEverythingCom/mobicle/issues/26/events","html_url":"https://github.com/ControlEverythingCom/mobicle/issues/26","id":139121446,"number":26,"title":"Redirect to Particle using OAuth flow","user":{"login":"harrisonhjones","id":299114,"avatar_url":"https://avatars.githubusercontent.com/u/299114?v=3","gravatar_id":"","url":"https://api.github.com/users/harrisonhjones","html_url":"https://github.com/harrisonhjones","followers_url":"https://api.github.com/users/harrisonhjones/followers","following_url":"https://api.github.com/users/harrisonhjones/following{/other_user}","gists_url":"https://api.github.com/users/harrisonhjones/gists{/gist_id}","starred_url":"https://api.github.com/users/harrisonhjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrisonhjones/subscriptions","organizations_url":"https://api.github.com/users/harrisonhjones/orgs","repos_url":"https://api.github.com/users/harrisonhjones/repos","events_url":"https://api.github.com/users/harrisonhjones/events{/privacy}","received_events_url":"https://api.github.com/users/harrisonhjones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-07T23:06:00Z","updated_at":"2016-03-07T23:07:10Z","closed_at":null,"body":"Mobicle/ControlEverything.com shouldn't really take user's credentials directly. There should be a flow to Particle to login and then Particle will redirect back with an access token. Please see https://docs.particle.io/guide/how-to-build-a-product/authentication/#oauth for more information.\r\n\r\nIf you have any other questions feel free to ping me. Very cool app!"},"comment":{"url":"https://api.github.com/repos/ControlEverythingCom/mobicle/issues/comments/193496446","html_url":"https://github.com/ControlEverythingCom/mobicle/issues/26#issuecomment-193496446","issue_url":"https://api.github.com/repos/ControlEverythingCom/mobicle/issues/26","id":193496446,"user":{"login":"harrisonhjones","id":299114,"avatar_url":"https://avatars.githubusercontent.com/u/299114?v=3","gravatar_id":"","url":"https://api.github.com/users/harrisonhjones","html_url":"https://github.com/harrisonhjones","followers_url":"https://api.github.com/users/harrisonhjones/followers","following_url":"https://api.github.com/users/harrisonhjones/following{/other_user}","gists_url":"https://api.github.com/users/harrisonhjones/gists{/gist_id}","starred_url":"https://api.github.com/users/harrisonhjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrisonhjones/subscriptions","organizations_url":"https://api.github.com/users/harrisonhjones/orgs","repos_url":"https://api.github.com/users/harrisonhjones/repos","events_url":"https://api.github.com/users/harrisonhjones/events{/privacy}","received_events_url":"https://api.github.com/users/harrisonhjones/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T23:07:10Z","updated_at":"2016-03-07T23:07:10Z","body":"Note, this would also allow users who use password managers to easily auto-fill the Particle login information since the user would actually be on Particle.io"}}