{"action":"created","issue":{"url":"https://api.github.com/repos/cloud-elements/churros/issues/337","repository_url":"https://api.github.com/repos/cloud-elements/churros","labels_url":"https://api.github.com/repos/cloud-elements/churros/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/cloud-elements/churros/issues/337/comments","events_url":"https://api.github.com/repos/cloud-elements/churros/issues/337/events","html_url":"https://github.com/cloud-elements/churros/issues/337","id":171173586,"number":337,"title":"Enhance Churros to test APIs outside Cloud Elements","user":{"login":"ramana4029","id":2224488,"avatar_url":"https://avatars.githubusercontent.com/u/2224488?v=3","gravatar_id":"","url":"https://api.github.com/users/ramana4029","html_url":"https://github.com/ramana4029","followers_url":"https://api.github.com/users/ramana4029/followers","following_url":"https://api.github.com/users/ramana4029/following{/other_user}","gists_url":"https://api.github.com/users/ramana4029/gists{/gist_id}","starred_url":"https://api.github.com/users/ramana4029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramana4029/subscriptions","organizations_url":"https://api.github.com/users/ramana4029/orgs","repos_url":"https://api.github.com/users/ramana4029/repos","events_url":"https://api.github.com/users/ramana4029/events{/privacy}","received_events_url":"https://api.github.com/users/ramana4029/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloud-elements/churros/labels/feature","name":"feature","color":"1d76db"},{"url":"https://api.github.com/repos/cloud-elements/churros/labels/product","name":"product","color":"0e8a16"}],"state":"open","locked":false,"assignee":{"login":"aaronfullerton","id":10962381,"avatar_url":"https://avatars.githubusercontent.com/u/10962381?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronfullerton","html_url":"https://github.com/aaronfullerton","followers_url":"https://api.github.com/users/aaronfullerton/followers","following_url":"https://api.github.com/users/aaronfullerton/following{/other_user}","gists_url":"https://api.github.com/users/aaronfullerton/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronfullerton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronfullerton/subscriptions","organizations_url":"https://api.github.com/users/aaronfullerton/orgs","repos_url":"https://api.github.com/users/aaronfullerton/repos","events_url":"https://api.github.com/users/aaronfullerton/events{/privacy}","received_events_url":"https://api.github.com/users/aaronfullerton/received_events","type":"User","site_admin":false},"assignees":[{"login":"aaronfullerton","id":10962381,"avatar_url":"https://avatars.githubusercontent.com/u/10962381?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronfullerton","html_url":"https://github.com/aaronfullerton","followers_url":"https://api.github.com/users/aaronfullerton/followers","following_url":"https://api.github.com/users/aaronfullerton/following{/other_user}","gists_url":"https://api.github.com/users/aaronfullerton/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronfullerton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronfullerton/subscriptions","organizations_url":"https://api.github.com/users/aaronfullerton/orgs","repos_url":"https://api.github.com/users/aaronfullerton/repos","events_url":"https://api.github.com/users/aaronfullerton/events{/privacy}","received_events_url":"https://api.github.com/users/aaronfullerton/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-15T13:48:05Z","updated_at":"2016-08-26T00:37:13Z","closed_at":null,"body":"## Description\r\nEnhance Churros to test APIs outside Cloud Elements\r\n\r\n## Expected Behavior\r\n* Ability to create tests to run API's outside cloud elements\r\n* Ability to generate required headers and pass in through each call\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cloud-elements/churros/issues/comments/242588369","html_url":"https://github.com/cloud-elements/churros/issues/337#issuecomment-242588369","issue_url":"https://api.github.com/repos/cloud-elements/churros/issues/337","id":242588369,"user":{"login":"ramana4029","id":2224488,"avatar_url":"https://avatars.githubusercontent.com/u/2224488?v=3","gravatar_id":"","url":"https://api.github.com/users/ramana4029","html_url":"https://github.com/ramana4029","followers_url":"https://api.github.com/users/ramana4029/followers","following_url":"https://api.github.com/users/ramana4029/following{/other_user}","gists_url":"https://api.github.com/users/ramana4029/gists{/gist_id}","starred_url":"https://api.github.com/users/ramana4029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramana4029/subscriptions","organizations_url":"https://api.github.com/users/ramana4029/orgs","repos_url":"https://api.github.com/users/ramana4029/repos","events_url":"https://api.github.com/users/ramana4029/events{/privacy}","received_events_url":"https://api.github.com/users/ramana4029/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T00:37:13Z","updated_at":"2016-08-26T00:37:13Z","body":"@aaronfullerton Thats right, it has to exchange the token with AWS Cognito and also need to get a temporary credentials from AWS IAM to access the API Gateway. \r\n\r\nBelow would be the flow\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2224488/17990395/f5f86888-6afa-11e6-93e8-b89d010e4bbc.png)\r\n1)\tWhen end user clicks on connect for endpoint\r\n2)\tThe user is redirected to endpoint authentication \r\n3)\tOnce the user allows the access the mobile app receives access_token and ID Token\r\n4)\tMobile app exchanges IDToken with Cognito Token\r\n5)\tMobile app exchanges Cognito Token to get temporary AWS credentials\r\n6)\tMobile app uses the temporary credentials to access cloud connector through API Gateway\r\n"}}
{"actor":{"display_login":"ramana4029"}}