{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleWebComponents/google-signin/issues/99","repository_url":"https://api.github.com/repos/GoogleWebComponents/google-signin","labels_url":"https://api.github.com/repos/GoogleWebComponents/google-signin/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/GoogleWebComponents/google-signin/issues/99/comments","events_url":"https://api.github.com/repos/GoogleWebComponents/google-signin/issues/99/events","html_url":"https://github.com/GoogleWebComponents/google-signin/issues/99","id":87132312,"number":99,"title":"Disabling third party cookies causes silent failure","user":{"login":"svachalek","id":711566,"avatar_url":"https://avatars2.githubusercontent.com/u/711566?v=3","gravatar_id":"","url":"https://api.github.com/users/svachalek","html_url":"https://github.com/svachalek","followers_url":"https://api.github.com/users/svachalek/followers","following_url":"https://api.github.com/users/svachalek/following{/other_user}","gists_url":"https://api.github.com/users/svachalek/gists{/gist_id}","starred_url":"https://api.github.com/users/svachalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svachalek/subscriptions","organizations_url":"https://api.github.com/users/svachalek/orgs","repos_url":"https://api.github.com/users/svachalek/repos","events_url":"https://api.github.com/users/svachalek/events{/privacy}","received_events_url":"https://api.github.com/users/svachalek/received_events","type":"User","site_admin":false},"labels":[{"id":90415931,"url":"https://api.github.com/repos/GoogleWebComponents/google-signin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"ebidel","id":238208,"avatar_url":"https://avatars1.githubusercontent.com/u/238208?v=3","gravatar_id":"","url":"https://api.github.com/users/ebidel","html_url":"https://github.com/ebidel","followers_url":"https://api.github.com/users/ebidel/followers","following_url":"https://api.github.com/users/ebidel/following{/other_user}","gists_url":"https://api.github.com/users/ebidel/gists{/gist_id}","starred_url":"https://api.github.com/users/ebidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebidel/subscriptions","organizations_url":"https://api.github.com/users/ebidel/orgs","repos_url":"https://api.github.com/users/ebidel/repos","events_url":"https://api.github.com/users/ebidel/events{/privacy}","received_events_url":"https://api.github.com/users/ebidel/received_events","type":"User","site_admin":false},"assignees":[{"login":"ebidel","id":238208,"avatar_url":"https://avatars1.githubusercontent.com/u/238208?v=3","gravatar_id":"","url":"https://api.github.com/users/ebidel","html_url":"https://github.com/ebidel","followers_url":"https://api.github.com/users/ebidel/followers","following_url":"https://api.github.com/users/ebidel/following{/other_user}","gists_url":"https://api.github.com/users/ebidel/gists{/gist_id}","starred_url":"https://api.github.com/users/ebidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebidel/subscriptions","organizations_url":"https://api.github.com/users/ebidel/orgs","repos_url":"https://api.github.com/users/ebidel/repos","events_url":"https://api.github.com/users/ebidel/events{/privacy}","received_events_url":"https://api.github.com/users/ebidel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2015-06-10T22:42:54Z","updated_at":"2017-03-20T20:56:20Z","closed_at":null,"body":"This is possibly/probably an issue with the underlying API but if third party cookies are disabled (Chrome Settings -> Privacy -> Content Settings -> Cookies -> Block third-party cookies and site data) the sign-in button will open and close the login window and a message will appear in the console stating that access to sessionStorage has been blocked.\n\nA workaround is possible by adding \"accounts.google.com\" to the exception list but at the moment there's no way (as far as I can tell) to even know this failure happened. If the problem can't be prevented it would be at least nice to have some way to know it happened (or better, will happen).\n"},"comment":{"url":"https://api.github.com/repos/GoogleWebComponents/google-signin/issues/comments/287895202","html_url":"https://github.com/GoogleWebComponents/google-signin/issues/99#issuecomment-287895202","issue_url":"https://api.github.com/repos/GoogleWebComponents/google-signin/issues/99","id":287895202,"user":{"login":"svachalek","id":711566,"avatar_url":"https://avatars2.githubusercontent.com/u/711566?v=3","gravatar_id":"","url":"https://api.github.com/users/svachalek","html_url":"https://github.com/svachalek","followers_url":"https://api.github.com/users/svachalek/followers","following_url":"https://api.github.com/users/svachalek/following{/other_user}","gists_url":"https://api.github.com/users/svachalek/gists{/gist_id}","starred_url":"https://api.github.com/users/svachalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svachalek/subscriptions","organizations_url":"https://api.github.com/users/svachalek/orgs","repos_url":"https://api.github.com/users/svachalek/repos","events_url":"https://api.github.com/users/svachalek/events{/privacy}","received_events_url":"https://api.github.com/users/svachalek/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T20:56:20Z","updated_at":"2017-03-20T20:56:20Z","body":"A lot of time has passed and I'm not even working on the project that was using this button anymore, but just to clarify the discussion: the problem is not that I wanted the button to react to the failure as @adrienjoly is suggesting, just to pass it on. I would have been fine catching an event and having the app just announce to the user that login was failing and maybe they should check their cookie settings. But there's no event to catch (afaik) and thus the app is blind to the fact that the user is mashing the button to no effect, which looks bad.\r\n\r\nI just tried it again to refresh my memory and it looks like there's a promise failure being caught in wc-entry.js and being logged to the console, which as far as I can remember is more than it used to do but still doesn't help the end user much.\r\n\r\nI ended up detecting the error indirectly Clippy-style, i.e. \"It's taking you a long time to log in, perhaps you want to add this exclusion to your cookie settings?\""}}
{"actor":{"display_login":"svachalek"}}