{"action":"created","issue":{"url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/issues/6","repository_url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google","labels_url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/issues/6/comments","events_url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/issues/6/events","html_url":"https://github.com/donbeave/grails-spring-security-oauth-google/pull/6","id":176105209,"number":6,"title":"Store extended response parameters on GoogleOAuthToken","user":{"login":"timbonicus","id":556258,"avatar_url":"https://avatars.githubusercontent.com/u/556258?v=3","gravatar_id":"","url":"https://api.github.com/users/timbonicus","html_url":"https://github.com/timbonicus","followers_url":"https://api.github.com/users/timbonicus/followers","following_url":"https://api.github.com/users/timbonicus/following{/other_user}","gists_url":"https://api.github.com/users/timbonicus/gists{/gist_id}","starred_url":"https://api.github.com/users/timbonicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbonicus/subscriptions","organizations_url":"https://api.github.com/users/timbonicus/orgs","repos_url":"https://api.github.com/users/timbonicus/repos","events_url":"https://api.github.com/users/timbonicus/events{/privacy}","received_events_url":"https://api.github.com/users/timbonicus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-09T20:43:20Z","updated_at":"2016-09-11T20:15:25Z","closed_at":"2016-09-11T20:14:45Z","pull_request":{"url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/pulls/6","html_url":"https://github.com/donbeave/grails-spring-security-oauth-google/pull/6","diff_url":"https://github.com/donbeave/grails-spring-security-oauth-google/pull/6.diff","patch_url":"https://github.com/donbeave/grails-spring-security-oauth-google/pull/6.patch"},"body":"I had the same issue as #3 - when requesting the profile scope, more user information is returned from Google (name, etc). The GoogleSpringSecurityOAuthService discards this information. I changed the service to instead pass the information through on the GoogleOAuthToken as a Map.\r\n\r\nMaybe not the best solution, it would be nicer to have a strongly typed response object - but better than nothing for clients that want access to this information."},"comment":{"url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/issues/comments/246201766","html_url":"https://github.com/donbeave/grails-spring-security-oauth-google/pull/6#issuecomment-246201766","issue_url":"https://api.github.com/repos/donbeave/grails-spring-security-oauth-google/issues/6","id":246201766,"user":{"login":"donbeave","id":139017,"avatar_url":"https://avatars.githubusercontent.com/u/139017?v=3","gravatar_id":"","url":"https://api.github.com/users/donbeave","html_url":"https://github.com/donbeave","followers_url":"https://api.github.com/users/donbeave/followers","following_url":"https://api.github.com/users/donbeave/following{/other_user}","gists_url":"https://api.github.com/users/donbeave/gists{/gist_id}","starred_url":"https://api.github.com/users/donbeave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donbeave/subscriptions","organizations_url":"https://api.github.com/users/donbeave/orgs","repos_url":"https://api.github.com/users/donbeave/repos","events_url":"https://api.github.com/users/donbeave/events{/privacy}","received_events_url":"https://api.github.com/users/donbeave/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T20:15:25Z","updated_at":"2016-09-11T20:15:25Z","body":"Thank you!"}}
{"actor":{"display_login":"donbeave"}}