{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1999","repository_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit","labels_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1999/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1999/comments","events_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1999/events","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/issues/1999","id":316435144,"number":1999,"title":"MicrosoftGraphService should expose LoginHint to auth","user":{"login":"AdamBraden","id":11510924,"avatar_url":"https://avatars0.githubusercontent.com/u/11510924?v=4","gravatar_id":"","url":"https://api.github.com/users/AdamBraden","html_url":"https://github.com/AdamBraden","followers_url":"https://api.github.com/users/AdamBraden/followers","following_url":"https://api.github.com/users/AdamBraden/following{/other_user}","gists_url":"https://api.github.com/users/AdamBraden/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamBraden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamBraden/subscriptions","organizations_url":"https://api.github.com/users/AdamBraden/orgs","repos_url":"https://api.github.com/users/AdamBraden/repos","events_url":"https://api.github.com/users/AdamBraden/events{/privacy}","received_events_url":"https://api.github.com/users/AdamBraden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T23:02:02Z","updated_at":"2018-04-20T23:02:02Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Please uncomment one or more that apply to this issue -->\r\n<!-- For new features, create a UserVoice request here and link below: https://wpdev.uservoice.com/forums/110705-universal-windows-platform/category/193402-uwp-community-toolkit -->\r\nNew feature request to support LoginHint:\r\nhttps://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/34018135-add-loginhint-to-loginasync-getusertokenv2async\r\n\r\n<!-- - Regression (a behavior that used to work and stopped working in a new release) -->\r\n<!-- - Bug report (I searched for similar issues and did not find one) -->  \r\n<!-- - Feature request (UserVoice request: ) --> \r\n<!-- - Sample app request -->\r\n<!-- - Documentation issue or request -->\r\n<!-- - Question of Support request => Please do not submit support request here, instead see https://github.com/Microsoft/UWPCommunityToolkit/blob/master/contributing.md#question -->\r\n\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\nLoginHint is a way to bypass the Home Realm Discovery dialog during Login - thus the enduser has to enter their email 2x to login.\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nusing new code code:\r\n- await MicrosoftGraphService.Instance.LoginAsync(\"user@domain.com\");\r\npasses thru to \r\n- GetUserTokenV2Async(string appClientId, UIParent uiParent = null, string redirectUri = null, string LoginHint)\r\nand eventually the call to\r\n- await _identityClient.AcquireTokenAsync(DelegatedPermissionScopes, LoginHint, uiParent);\r\n\r\n\r\nuser only sees one dialog asking for credentials, not 2\r\n\r\n## Minimal reproduction of the problem with instructions\r\n<!--\r\nFor bug reports please provide a *MINIMAL REPRO PROJECT* and the *STEPS TO REPRODUCE*\r\n-->\r\n\r\n\r\n## Environment\r\n<!-- For bug reports Check one or more of the following options with \"x\" -->\r\n```\r\nNuget Package(s): \r\n\r\nPackage Version(s): \r\n\r\nWindows 10 Build Number:\r\n- [ ] Anniversary Update (14393) \r\n- [ ] Creators Update (15063)\r\n- [ ] Fall Creators Update (16299)\r\n- [ ] Insider Build (build number: )\r\n\r\nApp min and target version:\r\n- [ ] Anniversary Update (14393) \r\n- [ ] Creators Update (15063)\r\n- [ ] Fall Creators Update (16299)\r\n- [ ] Insider Build (xxxxx)\r\n\r\nDevice form factor:\r\n- [ ] Desktop\r\n- [ ] Mobile\r\n- [ ] Xbox\r\n- [ ] Surface Hub\r\n- [ ] IoT\r\n\r\nVisual Studio \r\n- [ ] 2017 (version: )\r\n- [ ] 2017 Preview (version: )\r\n\r\n```\r\n"}}
{"actor":{"display_login":"AdamBraden"}}