{"action":"created","issue":{"url":"https://api.github.com/repos/dtjohnson/aws-azure-login/issues/18","repository_url":"https://api.github.com/repos/dtjohnson/aws-azure-login","labels_url":"https://api.github.com/repos/dtjohnson/aws-azure-login/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/dtjohnson/aws-azure-login/issues/18/comments","events_url":"https://api.github.com/repos/dtjohnson/aws-azure-login/issues/18/events","html_url":"https://github.com/dtjohnson/aws-azure-login/pull/18","id":288964085,"number":18,"title":"Handle multiple account selection","user":{"login":"HRHDaniel","id":11617845,"avatar_url":"https://avatars3.githubusercontent.com/u/11617845?v=4","gravatar_id":"","url":"https://api.github.com/users/HRHDaniel","html_url":"https://github.com/HRHDaniel","followers_url":"https://api.github.com/users/HRHDaniel/followers","following_url":"https://api.github.com/users/HRHDaniel/following{/other_user}","gists_url":"https://api.github.com/users/HRHDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/HRHDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HRHDaniel/subscriptions","organizations_url":"https://api.github.com/users/HRHDaniel/orgs","repos_url":"https://api.github.com/users/HRHDaniel/repos","events_url":"https://api.github.com/users/HRHDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/HRHDaniel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-16T16:10:39Z","updated_at":"2018-02-28T19:15:54Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dtjohnson/aws-azure-login/pulls/18","html_url":"https://github.com/dtjohnson/aws-azure-login/pull/18","diff_url":"https://github.com/dtjohnson/aws-azure-login/pull/18.diff","patch_url":"https://github.com/dtjohnson/aws-azure-login/pull/18.patch"},"body":"When there are multiple accounts associated to an email address, there's an additional selection dialogue for choosing the account that is displayed prior to prompting for the account password.  This PR selects the first account. "},"comment":{"url":"https://api.github.com/repos/dtjohnson/aws-azure-login/issues/comments/369350515","html_url":"https://github.com/dtjohnson/aws-azure-login/pull/18#issuecomment-369350515","issue_url":"https://api.github.com/repos/dtjohnson/aws-azure-login/issues/18","id":369350515,"user":{"login":"HRHDaniel","id":11617845,"avatar_url":"https://avatars3.githubusercontent.com/u/11617845?v=4","gravatar_id":"","url":"https://api.github.com/users/HRHDaniel","html_url":"https://github.com/HRHDaniel","followers_url":"https://api.github.com/users/HRHDaniel/followers","following_url":"https://api.github.com/users/HRHDaniel/following{/other_user}","gists_url":"https://api.github.com/users/HRHDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/HRHDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HRHDaniel/subscriptions","organizations_url":"https://api.github.com/users/HRHDaniel/orgs","repos_url":"https://api.github.com/users/HRHDaniel/repos","events_url":"https://api.github.com/users/HRHDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/HRHDaniel/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T19:15:54Z","updated_at":"2018-02-28T19:15:54Z","author_association":"NONE","body":"Sorry this has taken a bit.  I updated this to prompt the user based on what I can test.  Based on the html it looks like my accounts are labled as \"aad\" and \"msa\" accounts, which appeared to be the only thing I could look for.  Not sure what this would look like if there's 3 or more accounts, or if there could ever be multiple aad or msa sections, but figure this is a good start and if someone comes along with one of those use cases, it should be easy enough to fix once they can pull the html for their case."}}
{"actor":{"display_login":"HRHDaniel"}}