{"action":"closed","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/issues/282","repository_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/issues/282/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/issues/282/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-android/issues/282","id":46215611,"number":282,"title":"Not receiving AuthenticationCancelError when Cancel button is pressed in Web Auth UI","user":{"login":"thilgen","id":9309340,"avatar_url":"https://avatars.githubusercontent.com/u/9309340?v=3","gravatar_id":"","url":"https://api.github.com/users/thilgen","html_url":"https://github.com/thilgen","followers_url":"https://api.github.com/users/thilgen/followers","following_url":"https://api.github.com/users/thilgen/following{/other_user}","gists_url":"https://api.github.com/users/thilgen/gists{/gist_id}","starred_url":"https://api.github.com/users/thilgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thilgen/subscriptions","organizations_url":"https://api.github.com/users/thilgen/orgs","repos_url":"https://api.github.com/users/thilgen/repos","events_url":"https://api.github.com/users/thilgen/events{/privacy}","received_events_url":"https://api.github.com/users/thilgen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/labels/Common.NET","name":"Common.NET","color":"fef2c0"},{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/labels/CommoniOS","name":"CommoniOS","color":"fef2c0"},{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/labels/Fixed","name":"Fixed","color":"009800"},{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-android/labels/P1","name":"P1","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-19T20:01:22Z","updated_at":"2016-03-08T01:28:47Z","closed_at":"2016-03-08T01:28:47Z","body":"1. Modify the sample ADAL Hello World app to acquire a token from a server whose web auth page has a cancel button. \r\n\r\n2. Launch the sample ADAL Hello World app and click Get Token button\r\n\r\n3. Click the Cancel button on the web auth page\r\n\r\n4. AutheticationCallback.onError is invoked and passed an instance of an AuthenticationException - the following Toast is displayed\r\n\r\n\"Error in processing code to get token. Request authority:https://login.windows.net/common resource:Microsoft.Lync clientid:d3590ed6-52b3-4102-aeff-aad2292ab01c correlationId:4f1fc46f-df7d-4cb2-8a7e-6cec0e311897\"\r\n\r\nThis action should be equivalent to pressing the back button while the web auth page is being displayed - which will invoke AutheticationCallback.onError and pass an instance of AuthenticationCancelError - which allows the client app to treat as a non-failure.\r\n\r\n\r\n"}}