{"action":"created","issue":{"url":"https://api.github.com/repos/hwi/HWIOAuthBundle/issues/767","labels_url":"https://api.github.com/repos/hwi/HWIOAuthBundle/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/hwi/HWIOAuthBundle/issues/767/comments","events_url":"https://api.github.com/repos/hwi/HWIOAuthBundle/issues/767/events","html_url":"https://github.com/hwi/HWIOAuthBundle/pull/767","id":71087509,"number":767,"title":"Add first and last names on OAuth responses","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-26T16:12:59Z","updated_at":"2015-05-05T07:07:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hwi/HWIOAuthBundle/pulls/767","html_url":"https://github.com/hwi/HWIOAuthBundle/pull/767","diff_url":"https://github.com/hwi/HWIOAuthBundle/pull/767.diff","patch_url":"https://github.com/hwi/HWIOAuthBundle/pull/767.patch"},"body":"Many providers has first name and last name fields that could be very interesting to get separately on our applications.\r\n\r\nThis PR adds `getFirstName` and `getLastName` on `UserResponseInterface` and his children classes.\r\n\r\nConcerned resource owners are also updated."},"comment":{"url":"https://api.github.com/repos/hwi/HWIOAuthBundle/issues/comments/98976859","html_url":"https://github.com/hwi/HWIOAuthBundle/pull/767#issuecomment-98976859","issue_url":"https://api.github.com/repos/hwi/HWIOAuthBundle/issues/767","id":98976859,"user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T07:07:16Z","updated_at":"2015-05-05T07:07:16Z","body":"> I am not sure if it has a meaning to had these two fields.\r\n\r\nMany application need the first and last name to register. This PR provide a easier access as the data is on the payload.\r\n\r\n> you make a BC with all CustomUserProviderthat implements UserResponseInterface\r\n\r\nYou mean a BC *break*? And no. All in this PR is Backward Compatible. If first name or last name is not available, it will simply return null."}}