{"action":"created","issue":{"url":"https://api.github.com/repos/statamic/v2-hub/issues/863","repository_url":"https://api.github.com/repos/statamic/v2-hub","labels_url":"https://api.github.com/repos/statamic/v2-hub/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/statamic/v2-hub/issues/863/comments","events_url":"https://api.github.com/repos/statamic/v2-hub/issues/863/events","html_url":"https://github.com/statamic/v2-hub/issues/863","id":171654859,"number":863,"title":"When an oauth user's email matches an already existent user it should not create a new user. ","user":{"login":"sheldonkotyk","id":622598,"avatar_url":"https://avatars.githubusercontent.com/u/622598?v=3","gravatar_id":"","url":"https://api.github.com/users/sheldonkotyk","html_url":"https://github.com/sheldonkotyk","followers_url":"https://api.github.com/users/sheldonkotyk/followers","following_url":"https://api.github.com/users/sheldonkotyk/following{/other_user}","gists_url":"https://api.github.com/users/sheldonkotyk/gists{/gist_id}","starred_url":"https://api.github.com/users/sheldonkotyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheldonkotyk/subscriptions","organizations_url":"https://api.github.com/users/sheldonkotyk/orgs","repos_url":"https://api.github.com/users/sheldonkotyk/repos","events_url":"https://api.github.com/users/sheldonkotyk/events{/privacy}","received_events_url":"https://api.github.com/users/sheldonkotyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-17T13:18:14Z","updated_at":"2016-08-17T16:56:22Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Create a new user through the CP or with regular registration.\r\n2. Login using oauth with same email address.\r\n3. Voila, 2 users.\r\n\r\n### Expected behaviour\r\nUser information should \"merge\"\r\n\r\n### Actual behaviour\r\nTwo users are created\r\n\r\n### Server configuration\r\n**Operating system**:\r\nMac OSX using Valet\r\n\r\n**Statamic version:**\r\n2.1.2\r\n\r\n**Updated from an older Statamic or fresh install:**\r\nUpdated\r\n\r\n**List of installed addons:**\r\nOAuth (with Google)\r\n"},"comment":{"url":"https://api.github.com/repos/statamic/v2-hub/issues/comments/240475844","html_url":"https://github.com/statamic/v2-hub/issues/863#issuecomment-240475844","issue_url":"https://api.github.com/repos/statamic/v2-hub/issues/863","id":240475844,"user":{"login":"sheldonkotyk","id":622598,"avatar_url":"https://avatars.githubusercontent.com/u/622598?v=3","gravatar_id":"","url":"https://api.github.com/users/sheldonkotyk","html_url":"https://github.com/sheldonkotyk","followers_url":"https://api.github.com/users/sheldonkotyk/followers","following_url":"https://api.github.com/users/sheldonkotyk/following{/other_user}","gists_url":"https://api.github.com/users/sheldonkotyk/gists{/gist_id}","starred_url":"https://api.github.com/users/sheldonkotyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheldonkotyk/subscriptions","organizations_url":"https://api.github.com/users/sheldonkotyk/orgs","repos_url":"https://api.github.com/users/sheldonkotyk/repos","events_url":"https://api.github.com/users/sheldonkotyk/events{/privacy}","received_events_url":"https://api.github.com/users/sheldonkotyk/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T16:56:22Z","updated_at":"2016-08-17T16:56:22Z","body":"Doesn't github require a confirmation that you own an email address before you can use them for OAuth?"}}
{"actor":{"display_login":"sheldonkotyk"}}