{"action":"opened","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/8289","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/8289/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/8289/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/8289/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/issues/8289","id":358572195,"node_id":"MDU6SXNzdWUzNTg1NzIxOTU=","number":8289,"title":"Jetpack Connect: Google login/signup fails when self-hosted account email is not connected to WordPress.com account","user":{"login":"rachelmcr","id":8658164,"node_id":"MDQ6VXNlcjg2NTgxNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8658164?v=4","gravatar_id":"","url":"https://api.github.com/users/rachelmcr","html_url":"https://github.com/rachelmcr","followers_url":"https://api.github.com/users/rachelmcr/followers","following_url":"https://api.github.com/users/rachelmcr/following{/other_user}","gists_url":"https://api.github.com/users/rachelmcr/gists{/gist_id}","starred_url":"https://api.github.com/users/rachelmcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rachelmcr/subscriptions","organizations_url":"https://api.github.com/users/rachelmcr/orgs","repos_url":"https://api.github.com/users/rachelmcr/repos","events_url":"https://api.github.com/users/rachelmcr/events{/privacy}","received_events_url":"https://api.github.com/users/rachelmcr/received_events","type":"User","site_admin":false},"labels":[{"id":349397143,"node_id":"MDU6TGFiZWwzNDkzOTcxNDM=","url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Jetpack","name":"Jetpack","color":"006b75","default":false},{"id":520412938,"node_id":"MDU6TGFiZWw1MjA0MTI5Mzg=","url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Login","name":"Login","color":"006b75","default":false},{"id":716668993,"node_id":"MDU6TGFiZWw3MTY2Njg5OTM=","url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Signup","name":"Signup","color":"006b75","default":false},{"id":35106418,"node_id":"MDU6TGFiZWwzNTEwNjQxOA==","url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T10:59:25Z","updated_at":"2018-09-10T10:59:25Z","closed_at":null,"author_association":"MEMBER","body":"### Expected behavior\r\n\r\nJetpack Connect works with all WordPress.com account login & signup options.\r\n\r\n### Actual behavior\r\n\r\nJetpack Connect sometimes fails with Google login/signup. As far as I can tell, it fails when your self-hosted account (that you used to log in to the self-hosted site in the app) uses an email address that is not connected to a WordPress.com account.\r\n\r\n### Steps to reproduce the behavior\r\n\r\n0. Create a self-hosted site with an admin account that uses an email address not linked to a WordPress.com account.\r\n1. Log in to only the self-hosted site in the app.\r\n2. Go to _My Site_ tab.\r\n3. Go to _Stats_ section.\r\n4. Select _Install Jetpack_ button.\r\n5. Select _Don’t have an account? Sign up_ at the bottom of the screen.\r\n6. Select _Sign Up With Google_ button.\r\n7. Choose Google account with email not linked to a WordPress.com account.\r\n8. Tap _Continue_ button on Epilogue screen.\r\n\r\nResult: I was returned to the My Site screen showing this error:\r\n\r\n> Check that the site URL entered is valid\r\n\r\nAt this point I was logged in to my new WordPress.com account in the app, but when I tapped on the Stats item again I still saw the Install Jetpack button from earlier. I had to go through the Jetpack connect process again to finish connecting my new account.\r\n\r\n(Same results if you use Google to log in to an existing WordPress.com account instead of Google signup at step 6.)\r\n\r\n### Logs\r\n\r\nApp logs include a similar error to the on-screen error:\r\n\r\n```\r\n89 - [Sep-10 10:05 STATS] 🔵 Tracked: connect_jetpack_selected, Properties: {\"source\":\"stats\"}\r\n90 - [Sep-10 10:05 UTILS] Empty or null or invalid URL passed to WPWebViewActivity\r\n```\r\n\r\n##### Tested on Nexus 9, Android 7.1.1, WPAndroid alpha-126\r\n"}}
{"actor":{"display_login":"rachelmcr"}}