{"action":"created","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9","repository_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter","labels_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9/events","html_url":"https://github.com/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9","id":173349743,"number":9,"title":"OnlineIdAuthenticator support","user":{"login":"ericpapamarcos","id":282771,"avatar_url":"https://avatars.githubusercontent.com/u/282771?v=3","gravatar_id":"","url":"https://api.github.com/users/ericpapamarcos","html_url":"https://github.com/ericpapamarcos","followers_url":"https://api.github.com/users/ericpapamarcos/followers","following_url":"https://api.github.com/users/ericpapamarcos/following{/other_user}","gists_url":"https://api.github.com/users/ericpapamarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/ericpapamarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericpapamarcos/subscriptions","organizations_url":"https://api.github.com/users/ericpapamarcos/orgs","repos_url":"https://api.github.com/users/ericpapamarcos/repos","events_url":"https://api.github.com/users/ericpapamarcos/events{/privacy}","received_events_url":"https://api.github.com/users/ericpapamarcos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-26T01:41:24Z","updated_at":"2016-10-04T14:09:17Z","closed_at":null,"body":"In a UWP (14393 SDK), calling this code shows a sign in dialog:\r\n\r\n```\r\nvar msaAuthProvider = new MsaAuthenticationProvider(clientId, returnUrl, scopes);\r\nawait msaAuthProvider.AuthenticateUserAsync();\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/282771/17991335/762e832e-6af2-11e6-9f84-a2bb78c1ae4b.png)\r\n\r\nThe previously recommended authentication approach (below) didn't show a sign in dialog, but rather a confirmation dialog that the app would get access to the specified scopes.\r\n\r\n```\r\nvar client = await OneDriveClientExtensions.GetAuthenticatedClientUsingOnlineIdAuthenticator(scopes);\r\nawait client.AuthenticateAsync();\r\n```\r\n\r\nHow can we automatically use the device's already signed in MSA with `MsaAuthenticationProvider` to avoid the full sign in dialog? This is blocking my adoption of the new `MsaAuthenticationProvider` from the previous approach."},"comment":{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/comments/251398628","html_url":"https://github.com/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9#issuecomment-251398628","issue_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-dotnet-msa-auth-adapter/issues/9","id":251398628,"user":{"login":"Noemata","id":6632315,"avatar_url":"https://avatars.githubusercontent.com/u/6632315?v=3","gravatar_id":"","url":"https://api.github.com/users/Noemata","html_url":"https://github.com/Noemata","followers_url":"https://api.github.com/users/Noemata/followers","following_url":"https://api.github.com/users/Noemata/following{/other_user}","gists_url":"https://api.github.com/users/Noemata/gists{/gist_id}","starred_url":"https://api.github.com/users/Noemata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noemata/subscriptions","organizations_url":"https://api.github.com/users/Noemata/orgs","repos_url":"https://api.github.com/users/Noemata/repos","events_url":"https://api.github.com/users/Noemata/events{/privacy}","received_events_url":"https://api.github.com/users/Noemata/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T14:09:17Z","updated_at":"2016-10-04T14:09:17Z","body":"What is the ETA for OnlineIdAuthenticator?  It's a rather big whole in the current implementation.  As stated by ericpapamarcos, removing these sorts of features blocks progress.  A breaking change is acceptable provided functionality is preserved.  The V2 API has been a regression.  Given UWP is sitting on top of the OS, it's a bit baffling to me that OneDrive features are so obfuscated.  All this should be directly accessible through StorageFolder without having to jump through hoops.  I would rather see this as a user opt in capability that they control, with the default being to opt in.  I am whining about this because a lot of my previous code is broken with the changes in V2.  Yet again UWP takes a strange step backwards as time moves forward???"}}
{"actor":{"display_login":"Noemata"}}