{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/issues/588","repository_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet","labels_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/issues/588/comments","events_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/issues/588/events","html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/588","id":337332109,"node_id":"MDU6SXNzdWUzMzczMzIxMDk=","number":588,"title":"No way to avoid IDP selection prompt when invoking \"edit profile\" policy in B2C?","user":{"login":"DaRosenberg","id":3889090,"node_id":"MDQ6VXNlcjM4ODkwOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/3889090?v=4","gravatar_id":"","url":"https://api.github.com/users/DaRosenberg","html_url":"https://github.com/DaRosenberg","followers_url":"https://api.github.com/users/DaRosenberg/followers","following_url":"https://api.github.com/users/DaRosenberg/following{/other_user}","gists_url":"https://api.github.com/users/DaRosenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/DaRosenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaRosenberg/subscriptions","organizations_url":"https://api.github.com/users/DaRosenberg/orgs","repos_url":"https://api.github.com/users/DaRosenberg/repos","events_url":"https://api.github.com/users/DaRosenberg/events{/privacy}","received_events_url":"https://api.github.com/users/DaRosenberg/received_events","type":"User","site_admin":false},"labels":[{"id":275139538,"node_id":"MDU6TGFiZWwyNzUxMzk1Mzg=","url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-01T23:29:49Z","updated_at":"2018-07-17T10:37:40Z","closed_at":null,"author_association":"NONE","body":"My app is a Xamarin.iOS app targeting an AAD B2C tenant.\r\n\r\nTo invoke the AAD B2C \"edit profile\" policy, it seems we need to specify an explicit authority in the call to `AcquireTokenAsync()`, using one of the overloads that accept an `authority` parameter.\r\n\r\nHowever, all 4 overloads that accept an `authority` parameter, also require the `behavior` parameter, and because the `UIBehavior` type is a `struct` it cannot be supplied as `null`. Nor does it have any static fields to initialize an empty/zero behavior.\r\n\r\nAs a result, we have to specify either `SelectAccount`, `ForceLogin` or `Consent`, and in my testing, all of them results in the IDP selection UI being displayed before the actual profile edit UI.\r\n\r\nHow can we avoid showing an IDP selection UI in AAD B2C and instead directly present the user with the actual profile edit UI?"},"comment":{"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/issues/comments/405538441","html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/588#issuecomment-405538441","issue_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-dotnet/issues/588","id":405538441,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTUzODQ0MQ==","user":{"login":"jmprieur","id":13203188,"node_id":"MDQ6VXNlcjEzMjAzMTg4","avatar_url":"https://avatars0.githubusercontent.com/u/13203188?v=4","gravatar_id":"","url":"https://api.github.com/users/jmprieur","html_url":"https://github.com/jmprieur","followers_url":"https://api.github.com/users/jmprieur/followers","following_url":"https://api.github.com/users/jmprieur/following{/other_user}","gists_url":"https://api.github.com/users/jmprieur/gists{/gist_id}","starred_url":"https://api.github.com/users/jmprieur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmprieur/subscriptions","organizations_url":"https://api.github.com/users/jmprieur/orgs","repos_url":"https://api.github.com/users/jmprieur/repos","events_url":"https://api.github.com/users/jmprieur/events{/privacy}","received_events_url":"https://api.github.com/users/jmprieur/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T10:37:40Z","updated_at":"2018-07-17T10:37:40Z","author_association":"CONTRIBUTOR","body":"+ @parakhj \r\nI believe that this is on the backlog to try and fix this. @negoe : can you please confirm?"}}
{"actor":{"display_login":"jmprieur"}}