{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-amplify/issues/566","repository_url":"https://api.github.com/repos/aws/aws-amplify","labels_url":"https://api.github.com/repos/aws/aws-amplify/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-amplify/issues/566/comments","events_url":"https://api.github.com/repos/aws/aws-amplify/issues/566/events","html_url":"https://github.com/aws/aws-amplify/pull/566","id":310229428,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc4Njc1ODQ2","number":566,"title":"Allow sign in using custom authentication flow for Cognito User Pools","user":{"login":"buggy","id":376459,"node_id":"MDQ6VXNlcjM3NjQ1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/376459?v=4","gravatar_id":"","url":"https://api.github.com/users/buggy","html_url":"https://github.com/buggy","followers_url":"https://api.github.com/users/buggy/followers","following_url":"https://api.github.com/users/buggy/following{/other_user}","gists_url":"https://api.github.com/users/buggy/gists{/gist_id}","starred_url":"https://api.github.com/users/buggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buggy/subscriptions","organizations_url":"https://api.github.com/users/buggy/orgs","repos_url":"https://api.github.com/users/buggy/repos","events_url":"https://api.github.com/users/buggy/events{/privacy}","received_events_url":"https://api.github.com/users/buggy/received_events","type":"User","site_admin":false},"labels":[{"id":845261099,"node_id":"MDU6TGFiZWw4NDUyNjEwOTk=","url":"https://api.github.com/repos/aws/aws-amplify/labels/Auth","name":"Auth","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aws/aws-amplify/milestones/1","html_url":"https://github.com/aws/aws-amplify/milestone/1","labels_url":"https://api.github.com/repos/aws/aws-amplify/milestones/1/labels","id":3266290,"node_id":"MDk6TWlsZXN0b25lMzI2NjI5MA==","number":1,"title":"aws-amplify@0.4","description":"","creator":{"login":"mlabieniec","id":1417045,"node_id":"MDQ6VXNlcjE0MTcwNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1417045?v=4","gravatar_id":"","url":"https://api.github.com/users/mlabieniec","html_url":"https://github.com/mlabieniec","followers_url":"https://api.github.com/users/mlabieniec/followers","following_url":"https://api.github.com/users/mlabieniec/following{/other_user}","gists_url":"https://api.github.com/users/mlabieniec/gists{/gist_id}","starred_url":"https://api.github.com/users/mlabieniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlabieniec/subscriptions","organizations_url":"https://api.github.com/users/mlabieniec/orgs","repos_url":"https://api.github.com/users/mlabieniec/repos","events_url":"https://api.github.com/users/mlabieniec/events{/privacy}","received_events_url":"https://api.github.com/users/mlabieniec/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":30,"state":"open","created_at":"2018-04-13T17:25:32Z","updated_at":"2018-06-05T23:22:11Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2018-03-31T10:08:06Z","updated_at":"2018-06-06T16:58:09Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/aws/aws-amplify/pulls/566","html_url":"https://github.com/aws/aws-amplify/pull/566","diff_url":"https://github.com/aws/aws-amplify/pull/566.diff","patch_url":"https://github.com/aws/aws-amplify/pull/566.patch"},"body":"*Issue #, if available:*\r\n\r\n#525 \r\n\r\n*Description of changes:*\r\n\r\nCognito User Pools support custom authentication flows which allows passwordless logins. To support this with Amplify I have modified `Auth.signIn()` to make the password optional. If it is not provided then `initiateAuth()` is used instead of `authenticateUser()`. This allows the developer to completely customize the authentication flow and potentially remove the requirement for a password. Custom challenges can be responded to by calling `Auth.sendCustomChallengeAnswer()`\r\n\r\nBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-amplify/issues/comments/395140506","html_url":"https://github.com/aws/aws-amplify/pull/566#issuecomment-395140506","issue_url":"https://api.github.com/repos/aws/aws-amplify/issues/566","id":395140506,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTE0MDUwNg==","user":{"login":"powerful23","id":11042868,"node_id":"MDQ6VXNlcjExMDQyODY4","avatar_url":"https://avatars1.githubusercontent.com/u/11042868?v=4","gravatar_id":"","url":"https://api.github.com/users/powerful23","html_url":"https://github.com/powerful23","followers_url":"https://api.github.com/users/powerful23/followers","following_url":"https://api.github.com/users/powerful23/following{/other_user}","gists_url":"https://api.github.com/users/powerful23/gists{/gist_id}","starred_url":"https://api.github.com/users/powerful23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerful23/subscriptions","organizations_url":"https://api.github.com/users/powerful23/orgs","repos_url":"https://api.github.com/users/powerful23/repos","events_url":"https://api.github.com/users/powerful23/events{/privacy}","received_events_url":"https://api.github.com/users/powerful23/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T16:58:08Z","updated_at":"2018-06-06T16:58:08Z","author_association":"CONTRIBUTOR","body":"@Loghrenar we are about to merge that as long as @buggy update the lambda sample functions."}}
{"actor":{"display_login":"powerful23"}}