{"action":"created","issue":{"url":"https://api.github.com/repos/openid/AppAuth-Android/issues/114","repository_url":"https://api.github.com/repos/openid/AppAuth-Android","labels_url":"https://api.github.com/repos/openid/AppAuth-Android/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/openid/AppAuth-Android/issues/114/comments","events_url":"https://api.github.com/repos/openid/AppAuth-Android/issues/114/events","html_url":"https://github.com/openid/AppAuth-Android/issues/114","id":182786407,"number":114,"title":"RedirectUriReceiverActivity not always being triggered with chrome 53","user":{"login":"mattinger","id":270478,"avatar_url":"https://avatars.githubusercontent.com/u/270478?v=3","gravatar_id":"","url":"https://api.github.com/users/mattinger","html_url":"https://github.com/mattinger","followers_url":"https://api.github.com/users/mattinger/followers","following_url":"https://api.github.com/users/mattinger/following{/other_user}","gists_url":"https://api.github.com/users/mattinger/gists{/gist_id}","starred_url":"https://api.github.com/users/mattinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattinger/subscriptions","organizations_url":"https://api.github.com/users/mattinger/orgs","repos_url":"https://api.github.com/users/mattinger/repos","events_url":"https://api.github.com/users/mattinger/events{/privacy}","received_events_url":"https://api.github.com/users/mattinger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openid/AppAuth-Android/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-13T13:15:40Z","updated_at":"2016-10-18T03:50:38Z","closed_at":null,"body":"I realize this is likely a chrome bug, but when using App Auth with chrome 53 (i've tried this on both a nexus 5x and a nexus6 with the same result).  After authenticating via a pass though (ie. with prompt=none, or an existing browser cookie with no prompt value), the browser window will close, but RedirectUriReceiverActivity is not triggering.\r\n\r\nHowever, if i roll back to chrome 51, everything works fine.\r\n\r\nAlso, using firefox or the system browser doesn't seem to be suffering from the same issue.\r\n\r\nI'm seeing the following in the system logs:\r\n\r\n```\r\n10-13 09:11:49.850 28569-28569/? W/Thread-3: type=1400 audit(0.0:244): avc: denied { ioctl } for path=\"socket:[466550]\" dev=\"sockfs\" ino=466550 ioctlcmd=8b1b scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0\r\n10-13 09:11:49.859 28508-28569/? D/cr_SafeBrowsingApi: [SafeBrowsingApiHandlerInternal.java:136] Starting request.\r\n10-13 09:11:49.869 28508-28569/? D/cr_SafeBrowsingApi: [SafeBrowsingApiHandlerInternal.java:145] Done starting request\r\n10-13 09:11:49.870 28508-28508/? D/cr_SafeBrowsingApi: [SafeBrowsingApiHandlerInternal.java:116] Done calling callback\r\n10-13 09:11:49.870 28508-28569/? D/cr_SafeBrowsingApi: [SafeBrowsingApiBridge.java:62] Done starting request\r\n10-13 09:11:51.304 28569-28569/? W/Thread-3: type=1400 audit(0.0:245): avc: denied { ioctl } for path=\"socket:[468157]\" dev=\"sockfs\" ino=468157 ioctlcmd=8b1b scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0\r\n10-13 09:11:51.317 871-2934/? I/ActivityManager: START u0 {act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=myapp://auth?code=0.ac.qddqkI&state=s46UZ53hhjoB4HsVZ2YLGA flg=0x10000000 cmp=com.myapp/net.openid.appauth.RedirectUriReceiverActivity (has extras)} from uid 10041 on display 0\r\n10-13 09:11:51.337 871-3025/? I/ActivityManager: moveTaskToBack: TaskRecord{f5b15c7 #308 A=com.myapp U=0 StackId=1 sz=3}\r\n10-13 09:11:51.359 28508-28508/? W/cr_ScreenOrientation: Removing an inexistent observer!\r\n10-13 09:11:51.379 28508-28508/? D/cr_GCore: [LifecycleHook.java:73] onApplicationStateChange\r\n10-13 09:11:51.380 28508-28611/? E/ConnectivityManager.CallbackHandler: callback not found for RELEASED message\r\n10-13 09:11:51.385 399-399/? E/lowmemorykiller: Error writing /proc/29481/oom_score_adj; errno=22\r\n10-13 09:11:51.400 871-3534/? I/ActivityManager: Process com.android.chrome:sandboxed_process1 (pid 29481) has died\r\n10-13 09:11:51.400 871-3534/? D/ActivityManager: cleanUpApplicationRecord -- 29481\r\n10-13 09:11:51.400 871-3534/? W/ActivityManager: Scheduling restart of crashed service com.android.chrome/org.chromium.content.app.SandboxedProcessService1 in 1000ms\r\n10-13 09:11:51.420 28508-28508/? W/cr_ChildProcessConnect: onServiceDisconnected (crash or killed by oom): pid=29481\r\n10-13 09:11:51.423 28508-28508/? D/cr_ChildProcLauncher: [ChildProcessLauncher.java:878] stopping child connection: pid=29481\r\n10-13 09:11:51.424 28508-28508/? D/cr_ChildProcLauncher: [ChildProcessLauncher.java:119] Allocator freed a connection, sandbox: true, slot: 1\r\n10-13 09:11:51.722 28508-28508/? D/cr_GCore: [LifecycleHook.java:73] onApplicationStateChange\r\n10-13 09:11:51.723 28508-28508/? D/cr_GCore: [LifecycleHook.java:79] Application visibilty changed to false. Updating state of 1 client(s).\r\n10-13 09:11:51.742 28508-28508/? D/cr_GCore: [LifecycleHook.java:73] onApplicationStateChange\r\n10-13 09:11:51.886 871-891/? I/WindowManager: Destroying surface Surface(name=SurfaceView - com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.AppWindowToken.destroySurfaces:365 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.WindowStateAnimator.finishExit:516 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:491 \r\n10-13 09:11:51.898 871-891/? I/WindowManager: Destroying surface Surface(name=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:491 com.android.server.wm.WindowAnimator.updateWindowsLocked:303 com.android.server.wm.WindowAnimator.animateLocked:704 \r\n10-13 09:11:51.901 401-401/? W/SurfaceFlinger: couldn't log to binary event log: overflow.\r\n10-13 09:11:56.812 28508-28508/? D/cr_GCore: [GoogleApiClientHelper.java:185] Disconnect delay expired.\r\n```"},"comment":{"url":"https://api.github.com/repos/openid/AppAuth-Android/issues/comments/254399725","html_url":"https://github.com/openid/AppAuth-Android/issues/114#issuecomment-254399725","issue_url":"https://api.github.com/repos/openid/AppAuth-Android/issues/114","id":254399725,"user":{"login":"iainmcgin","id":309153,"avatar_url":"https://avatars.githubusercontent.com/u/309153?v=3","gravatar_id":"","url":"https://api.github.com/users/iainmcgin","html_url":"https://github.com/iainmcgin","followers_url":"https://api.github.com/users/iainmcgin/followers","following_url":"https://api.github.com/users/iainmcgin/following{/other_user}","gists_url":"https://api.github.com/users/iainmcgin/gists{/gist_id}","starred_url":"https://api.github.com/users/iainmcgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iainmcgin/subscriptions","organizations_url":"https://api.github.com/users/iainmcgin/orgs","repos_url":"https://api.github.com/users/iainmcgin/repos","events_url":"https://api.github.com/users/iainmcgin/events{/privacy}","received_events_url":"https://api.github.com/users/iainmcgin/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T03:50:38Z","updated_at":"2016-10-18T03:50:38Z","body":"For posterity, the specific version of Chrome from which this should be fixed is `53.0.2785.124`."}}
{"actor":{"display_login":"iainmcgin"}}